/* =====================================================
   OTT Feedback
   ===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#f4f7fb;
    font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    color:#1f2937;
}

/* ==========================
   Container
========================== */

.ott-feedback-container{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px 20px;

}

.ott-card{

    width:100%;

    max-width:650px;

    background:#ffffff;

    border-radius:22px;

    padding:40px;

    box-shadow:
        0 15px 50px rgba(0,0,0,.08);

}

/* ==========================
   Heading
========================== */

.ott-card h2{

    font-size:34px;

    font-weight:700;

    margin-bottom:10px;

    color:#111827;

}

.ott-card p{

    color:#6b7280;

    margin-bottom:30px;

    line-height:1.6;

}

/* ==========================
   Form Sections
========================== */

.step-phone,
.step-otp,
#feedbackForm{

    display:flex;

    flex-direction:column;

    gap:18px;

}

/* ==========================
   Inputs
========================== */

input,
textarea,
select{

    width:100%;

    border:1px solid #d6dbe3;

    border-radius:14px;

    padding:16px 18px;

    font-size:16px;

    transition:.25s;

    background:#fff;

}

input:focus,
textarea:focus,
select:focus{

    outline:none;

    border-color:#2563eb;

    box-shadow:0 0 0 4px rgba(37,99,235,.12);

}

textarea{

    resize:vertical;

    min-height:140px;

}

.phone-group{

    display:flex;

    align-items:center;

    border:1px solid #d6dbe3;

    border-radius:14px;

    overflow:hidden;

    background:#fff;

    transition:.25s;

}

.phone-group:focus-within{

    border-color:#2563eb;

    box-shadow:0 0 0 4px rgba(37,99,235,.12);

}

.country-code{

    padding:16px 18px;

    background:#f8fafc;

    border-right:1px solid #e5e7eb;

    font-weight:600;

    color:#374151;

    white-space:nowrap;

}

.phone-group input{

    border:none;

    box-shadow:none !important;

    border-radius:0;

}

.phone-group input:focus{

    border:none;

    outline:none;

}

/* ==========================
   Buttons
========================== */

button{

    width:100%;

    border:none;

    border-radius:14px;

    padding:17px;

    background:#2563eb;

    color:#fff;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

}

button:hover{

    background:#1d4ed8;

    transform:translateY(-1px);

}

button:disabled{

    opacity:.6;

    cursor:not-allowed;

    transform:none;

}

/* ==========================
   Recaptcha
========================== */

#recaptcha-container{

    display:flex;

    justify-content:center;

    margin:5px 0;

}

/* ==========================
   Status Messages
========================== */

#statusMessage{

    margin-bottom:20px;

}

.ott-message{

    padding:15px 18px;

    border-radius:12px;

    font-weight:600;

    animation:fadeIn .25s ease;

}

.ott-message.success{

    background:#ecfdf3;

    color:#166534;

    border:1px solid #bbf7d0;

}

.ott-message.error{

    background:#fef2f2;

    color:#991b1b;

    border:1px solid #fecaca;

}

/* ==========================
   Select Styling
========================== */

select{

    appearance:none;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");

    background-repeat:no-repeat;

    background-position:right 18px center;

}

/* ==========================
   Placeholder
========================== */

::placeholder{

    color:#9ca3af;

}

/* ==========================
   Animations
========================== */

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(-8px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ==========================
   Mobile
========================== */

@media(max-width:768px){

    .ott-feedback-container{

        padding:20px 15px;

        align-items:flex-start;

    }

    .ott-card{

        padding:25px;

        border-radius:18px;

    }

    .ott-card h2{

        font-size:28px;

    }

    button{

        padding:18px;

    }

}



/* ==========================================
   Common Question Group
========================================== */

.question-group {
    margin-bottom: 20px;
}

.question-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.question-group select,
.question-group textarea {
    width: 100%;
}


.ott-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: ott-spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes ott-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}