.container {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.translation-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-container, .output-container {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dropdown-container {
    margin: 15px 0;
    position: relative;
}

.selected {
    padding: 12px;
    background-color: #fff;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
}

.options {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    z-index: 1;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.option {
    padding: 12px;
    cursor: pointer;
    font-size: 16px;
}

.option:hover, .option.active {
    background-color: #3498db;
    color: #fff;
}

.dropdown-container.active .options {
    display: block;
}

input[type="text"], textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

textarea {
    height: 150px;
    resize: none;
    font-size: 16px;
    position: relative;
}

.copy-button {
    position: absolute;
    bottom: 30px; /* Gap from bottom */
    right: 10px; /* Gap from right */
    padding: 6px 12px;
    font-size: 12px; /* Smaller text */
    color: #fff;
    background-color: #3498db;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.copy-button:hover {
    background-color: #2980b9;
}

.copy-button.copied {
    background-color: #28a745;
}

@media (min-width: 768px) {
    .translation-container {
        flex-direction: row;
    }

    .input-container, .output-container {
        width: 48%;
    }
}

@media (max-width: 767px) {
    .info-container {
        padding: 10px;
    }
}
