.text-tool-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

#capital-converter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#text-input, #text-output {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

#convert-button, #copy-button {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    align-self: flex-start;
    margin-top: 1rem;
}

#convert-button:hover, #copy-button:hover {
    background-color: #45a049;
}

#result-container {
    margin-top: 2rem;
}

.clipboard-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#copy-message {
    font-size: 1rem;
    color: #4CAF50;
}

h2, h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #333;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .text-tool-container {
        padding: 1rem;
    }

    h2, h3 {
        font-size: 1.25rem;
    }

    #text-input, #text-output {
        font-size: 0.875rem;
    }

    #convert-button, #copy-button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    #copy-message {
        font-size: 0.875rem;
    }
}

@media (max-width: 320px) {
    #text-input, #text-output {
        font-size: 0.75rem;
    }

    #convert-button, #copy-button {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    #copy-message {
        font-size: 0.75rem;
    }
}
