@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f4f7fa 0%, #dbe3ef 100%);
    display: flex;
    justify-content: center;
    align-items: flex-start; /* 👈 change */
    min-height: 100vh;
    padding: 30px 20px; /* slightly tighter */
}

.container {
    width: 100%;
    max-width: 520px !important;
    background: #ffffff;
    padding: 28px 26px; 
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
} /* <--- Added this bracket to close .container */

.site-header {
   
    width: 100%;
    max-width: 720px;
    margin: 0 auto 14px auto;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.header-logo {
    width: 32px;
    height: auto;
}

.header-text {
   display: flex;
    justify-content: center;   
    align-items: center;        
    text-align: center;         
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a365d;
    
    
    height: 40px; 
}
/* Removed the extra bracket that was here previously */
    



/* Logo Fixes */
.logo-container {
    text-align: center;
    margin-bottom: 12px; /* was 20px */
}


.logo {
    max-width: 70px !important ; 
    max-height: 100px !important ;
    height: auto;
    display: inline-block;
}

h2 {
    text-align: center;
    color: #1a365d;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

p {
    line-height: 1.6;
}

.input-group {
    margin-bottom: 18px;
    text-align: left;
}

label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #4a5568;
    display: block;
    margin-bottom: 6px;
}

input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    font-size: 1rem;
    background-color: #f8fafc;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: #3182ce;
    background-color: #fff;
}

input[type="file"] {
    font-size: 0.8rem;
    padding: 10px;
}

/* Button Styles */
button {
    width: 100%;
    padding: 14px;
    background: #2b6cb0;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s, transform 0.1s;
}

button:hover {
    background: #2c5282;
}

button:active {
    transform: scale(0.98);
}

button:disabled {
    background: #a0aec0 !important;
    cursor: not-allowed;
}

/* Secondary Button (Resend) */
.btn-secondary {
    background: #edf2f7 !important;
    color: #2d3748 !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 0.85rem;
}

.btn-secondary:hover {
    background: #e2e8f0 !important;
}

/* AJAX Step Animations */
#step1, #step2 {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Feedback Messages */
.msg {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    text-align: center;
}

.msg.error {
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.msg.success {
    background: #f0fff4;
    color: #2f855a;
    border: 1px solid #c6f6d5;
}

/* Disclaimer */
.disclaimer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #edf2f7;
}

.disclaimer p {
    font-size: 0.7rem;
    color: #718096;
    line-height: 1.4;
    text-align: center;
}
/* Error shake animation */
@keyframes shake {
    0%   { transform: translateX(0); }
    20%  { transform: translateX(-6px); }
    40%  { transform: translateX(6px); }
    60%  { transform: translateX(-4px); }
    80%  { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.35s ease-in-out;
}
/* Compact form grid (desktop only) */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-grid .full-width {
        grid-column: span 2;
    }
}

.site-footer {
    margin-top: 18px;
    text-align: center;
    font-size: 0.7rem;
    color: #718096;
}

.site-footer a {
    color: #2b6cb0;
    text-decoration: none;
    font-weight: 600;
}

.site-footer a:hover {
    text-decoration: underline;
}

