/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body {
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.form-container {
    background: #fff;
    padding: 15px;      
    width: 100%;     
}

h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 22px;
    color: #303030;
    font-weight: 700;
}

.sub-text {
    text-align: center;
    font-size: 14px;
    margin-bottom: 20px;
    color: #444;
}

form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Floating labels */
.form-group {
    position: relative;
    margin-bottom: 3px;
}

    .form-group.full-width {
        grid-column: 1 / span 2;
    }

.select-wrapper {
    position: relative;
    width: 100%;
}

    .select-wrapper select {
        width: 100%;
        padding: 14px 12px; /* same as inputs */
        padding-right: 40px; /* space for arrow */
        border: none;
        border-bottom: 2px solid #ccc;
        border-radius: 0;
        font-size: 14px;
        line-height: 1.4; /* keeps text aligned */
        background: #fff;
        cursor: pointer;
        outline: none; /* remove focus outline */
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }

        /* Remove the blue border/shadow when focused */
        .select-wrapper select:focus {
            border-bottom: 2px solid #0d7d62; /* only bottom highlight */
            box-shadow: none;
        }


    /* Custom arrow */
    .select-wrapper::after {
        content: "";
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
        transition: transform 0.3s ease;
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #555;
        pointer-events: none;
    }

    /* Rotate arrow */
    .select-wrapper:focus-within::after {
        transform: translateY(-50%) rotate(180deg);
    }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 5px;
    border: none;
    border-bottom: 2px solid #ccc;
    font-size: 14px;
    background: none;
    outline: none;
}

.form-group textarea {
    resize: none;
    height: 80px;
}

.form-group label {
    position: absolute;
    left: 5px;
    top: 14px;
    color: #777;
    font-size: 14px;
    transition: 0.2s ease;
    pointer-events: none;
    background: #fff;
    padding: 0 4px;
}

/* Floating effect */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    left: 2px;
    font-size: 12px;
    color: #0d7d62;
}

/* Section label */
.section-label {
    font-weight: bold;
    margin-bottom: 3px;
    display: block;
    font-size: 14px;
    color: #000;
}

/* Attachment boxes */
.attachment {
    background: #e91e63;
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    margin: 5px 0;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

/* Choose file */
.choose-file {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    color: #333; /* default text */
}

.plus-icon {
    font-size: 18px;
    font-weight: bold;
    display: inline-block !important;
    color: #fff; /* only plus icon colored */
    width: 20px;
    height: 20px;
    background-color: #e91e63;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Interpreter section */
.interpreter-section {     
    margin-bottom :10px;
    grid-column: 1 / span 2; /* ensure full width */
}

.interpreter-label {
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    font-size: 12px;
    color: #000;
}

.radio-group {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #333;
}

    .radio-group input[type="radio"] {
        accent-color: #e91e63; /* keep pink fill */
        outline: none; /* remove focus outline */
        box-shadow: none; /* remove border/glow */
    }

        .radio-group input[type="radio"]:focus {
            outline: none;
            box-shadow: none;
        }

    .radio-group label {
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
    }

/* Submit button */
.submit-btn {
    width: 150px;
    text-align: center;
    padding: 14px;
    background: #f4c430;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    cursor: pointer;
}

    .submit-btn:hover {
        background: #d9ac28;
    }

/* Responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width,
    .interpreter-section {
        grid-column: 1 / span 1;
    }
    body {        
        padding: 0px;
    }
}
