/* ============================================================
   FORM STYLES — Student & Partner Forms
   ============================================================ */

/* ===== FONT ===== */
.easc-form,
.easc-form input,
.easc-form select,
.easc-form textarea,
.easc-form button,
.easc-form label,
.easc-form .privacy-text strong,
.easc-form .privacy-text span,
.easc-form .form-agreement {
    font-family: 'Mulish', sans-serif;
}

/* ===== HERO ===== */
.page-form .hero {
    min-height: 50%;
}

.form-bronze {
    font-size: 3rem !important;
    margin-top: 16px;
    margin-bottom: 16px;
    display: inline-block;
}

.blue-text span {
    font-size: 64px !important;
}

/* ===== FORM WRAPPER ===== */
.form-wrapper {
    min-width: calc(100% - 200px);
    max-width: 900px;
    margin: -180px auto 60px;
    background: #fff;
    border-radius: 16px !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10) !important;
    padding: 48px 40px;
    position: relative;
    z-index: 2;
}

/* ===== FORM ROWS ===== */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row-2 .form-group {
    flex: 1;
}

.form-row-1 .form-group {
    flex: 1;
}

/* ===== FORM GROUP ===== */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a2e;
    padding-left: 95px;
    margin-bottom: -30px;
}

/* ===== INPUT WITH ICON ===== */
.input-with-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
    flex: 1;
    height: 60px;
    padding: 0 14px;
    border: 1px solid #dde1e6;
    border-radius: 8px;
    font-size: 1.3rem;
    color: #1a1a2e;
    background: #fafbfc;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.input-with-icon textarea {
    height: 48px;
    padding: 12px 14px;
    resize: vertical;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus {
    outline: none;
    border-color: #c9a84c;
    background: #fff;
}

.input-with-icon input::placeholder {
    color: #9aa0ab;
}

.input-with-icon select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa0ab' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.textarea-tall {
    height: 100px !important;
}

.form-group-no-overlap label {
    margin-bottom: -5px;
}

.field-hint {
    font-size: 1rem;
    color: #9aa0ab;
    margin-top: -30px;
    padding-left: 95px;
}

/* ===== ICON CIRCLE & MASK ===== */
.input-icon-circle {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    border: 4px solid #2d5a87;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.3);
    background: #fff;
    margin-bottom: 55px;
}

.input-icon-mask {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.input-icon-mask img {
    display: none;
}

/* ===== PRIVACY ICON ===== */
.privacy-icon-mask {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.privacy-icon-mask img {
    display: none;
}

/* ===== SUBMIT ROW ===== */
.form-submit-row {
    align-items: flex-end;
    margin-top: 28px;
}

.form-privacy {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.privacy-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.privacy-text strong {
    font-size: 1.5rem;
    color: #1a1a2e;
}

.privacy-text span {
    font-size: 1rem;
    color: #6b7280;
}

.form-submit-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-submit-btn {
    width: 70%;
    height: 52px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #c9a84c 0%, #e2c87a 100%);
    color: #1a1a2e;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

.form-submit-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.form-submit-btn:active {
    transform: translateY(0);
}

.form-agreement {
    font-size: 1rem;
    color: #9aa0ab;
    margin-top: 8px;
    text-align: center;
}

/* ===== SUCCESS MESSAGE ===== */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success h2 {
    color: #c9a84c;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-success p {
    color: #4b5563;
    font-size: 1.5rem;
}

/* ===== 1600px ===== */
@media (max-width: 1600px) {
    .page-form .hero-content { top: -40px; }
    .form-wrapper { margin-top: -70px; }
}

/* ===== 1366px ===== */
@media (max-width: 1366px) {
    .form-bronze { font-size: 2.4rem !important; }
    .form-wrapper { min-width: calc(100% - 160px); padding: 40px 32px; }
    .form-group label { font-size: 1.4rem; padding-left: 80px; }
    .input-icon-circle { width: 68px; height: 68px; margin-bottom: 48px; }
    .input-icon-mask { width: 36px; height: 36px; }
    .input-with-icon input,
    .input-with-icon select,
    .input-with-icon textarea { font-size: 1.2rem; height: 52px; }
}

/* ===== 1200px ===== */
@media (max-width: 1200px) {
    .form-bronze { font-size: 1.7rem !important; }
    .form-wrapper { min-width: calc(100% - 60px); padding: 28px 20px; margin-top: -120px; }
    .form-group label { font-size: 1.1rem; padding-left: 60px; margin-bottom: -22px; }
    .input-icon-circle { width: 52px; height: 52px; margin-bottom: 34px; }
    .input-icon-mask { width: 28px; height: 28px; }
    .input-with-icon input,
    .input-with-icon select,
    .input-with-icon textarea { font-size: 1rem; height: 42px; }
    .textarea-tall { height: 70px !important; }
    .privacy-icon-mask { width: 42px; height: 42px; }
    .privacy-text strong { font-size: 1.1rem; }
    .privacy-text span { font-size: 0.8rem; }
    .form-submit-btn { font-size: 1.1rem; height: 42px; }
    .form-agreement { font-size: 0.8rem; }
    .field-hint { padding-left: 60px; font-size: 0.8rem; }
    .form-submit-row { flex-direction: column; gap: 16px; align-items: stretch; }
    .form-submit-block { width: 100%; }
}

/* ===== 992px ===== */
@media (max-width: 992px) {
    .page-form .hero-content { top: 0; }
    .form-bronze { font-size: 1.6rem !important; }
    .form-wrapper { margin-top: -400px; min-width: calc(100% - 120px); padding: 36px 28px; }
    .form-group label { font-size: 14.4px; }
    .input-with-icon input,
    .input-with-icon select,
    .input-with-icon textarea { font-size: 12px; }
    .privacy-text strong { font-size: 14.4px; }
    .privacy-text span { font-size: 12px; }
    .form-submit-btn { font-size: 14.4px; }
    .form-agreement { font-size: 12px; }
    .field-hint { font-size: 12px; }
}

/* ===== 768px ===== */
@media (max-width: 768px) {
    .form-bronze { font-size: 1.4rem !important; }
    .form-group label { font-size: 13px; }
    .input-with-icon input,
    .input-with-icon select,
    .input-with-icon textarea { font-size: 11px; }
    .privacy-text strong { font-size: 13px; }
    .privacy-text span { font-size: 11px; }
    .form-submit-btn { font-size: 13px; }
    .form-agreement { font-size: 11px; }
    .field-hint { font-size: 11px; }
}

/* ===== 576px ===== */
@media (max-width: 576px) {
    .form-bronze { font-size: 1.2rem !important; }
    .form-group label { font-size: 12px; }
    .input-with-icon input,
    .input-with-icon select,
    .input-with-icon textarea { font-size: 10px; }
    .privacy-text strong { font-size: 12px; }
    .privacy-text span { font-size: 10px; }
    .form-submit-btn { font-size: 12px; }
    .form-agreement { font-size: 10px; }
    .field-hint { font-size: 10px; }
}

/* ===== 400px ===== */
@media (max-width: 400px) {
    .form-bronze { font-size: 1.1rem !important; line-height: 1 !important; }
    .form-row { flex-direction: column; gap: 14px; }
    .form-row-2 .form-group,
    .form-row-1 .form-group { flex: 1 1 100%; }
    .input-icon-circle { width: 46px; height: 46px; border-width: 2px; margin-bottom: 34px; }
    .input-icon-mask { width: 24px; height: 24px; }
    .form-group label { padding-left: 60px; margin-bottom: 4px; font-size: 11px; }
    .field-hint { padding-left: 0; margin-top: 4px; }
    .privacy-icon-mask { width: 38px; height: 38px; }
    .form-submit-btn { font-size: 11px; }
    .form-agreement { font-size: 9px; }
}