/* ==========================================================================
   TERA Nomination Page Styles
   ========================================================================== */

.nomination-page {
    background-color: #f8fafc;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Layout */
.nomination-layout {
    display: flex;
    min-height: 100vh;
    flex-wrap: wrap;
}

.nomination-left {
    flex: 1 1 55%;
    padding: 60px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nomination-right {
    flex: 1 1 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 30px;
}

.nomination-right img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Container */
.nomination-container {
    width: 100%;
    max-width: 800px;
}

/* Header */
.nomination-header {
    margin-bottom: 40px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.back-link:hover {
    color: var(--navy-blue);
}

.nomination-title {
    font-size: 3rem;
    font-family: var(--font-heading);
    margin-bottom: 10px;
    display: flex;
    gap: 12px;
}

.text-tera {
    color: #17a2b8;
}

.text-nomination {
    color: #5c8a9d;
}

.text-form {
    color: var(--primary-gold);
}

.nomination-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
}

/* Form Card */
.form-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.tera-form .form-group {
    margin-bottom: 24px;
}

.tera-form .form-row {
    display: flex;
    gap: 20px;
}

.tera-form .half-width {
    flex: 1;
}

.tera-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-blue);
    font-size: 0.95rem;
}

.tera-form .required {
    color: #17a2b8;
}

.tera-form .form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #f9fafb;
    font-family: inherit;
    font-size: 1rem;
    color: var(--navy-blue);
    transition: all 0.3s ease;
}

.tera-form .form-control:focus {
    outline: none;
    border-color: #17a2b8;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.1);
}

.tera-form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

/* Phone Input Group */
.phone-input-group {
    display: flex;
    gap: 10px;
}

.country-code {
    flex: 0 0 140px;
}

.phone-number {
    flex: 1;
}

/* Submit Button */
.form-submit {
    margin-top: 35px;
}

.btn-block {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    border: none;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
    .nomination-layout {
        flex-direction: column;
    }
    
    .nomination-left, .nomination-right {
        flex: 1 1 100%;
    }
    
    .nomination-right {
        min-height: 300px;
        order: -1; /* image above form on mobile */
    }
    
    .nomination-title {
        font-size: 2.2rem;
        flex-wrap: wrap;
    }
    
    .tera-form .form-row:not(.keep-row-mobile) {
        flex-direction: column;
        gap: 0;
    }
    
    .tera-form .form-row.keep-row-mobile {
        flex-direction: row;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .nomination-left {
        padding: 40px 20px;
    }
    
    .nomination-right {
        padding: 30px 20px;
    }
    
    .nomination-title {
        font-size: 1.8rem;
    }
    
    .form-card {
        padding: 25px;
    }
}
