/* ================================================================
   consultancy.css — All styles for consultancy.php
   Covers: Info section, Registration form, Popups, Modals
   ================================================================ */

/* ─── Consultancy Info Section ─────────────────────────────────── */
#consultancy-info {
    background: #f0f6ff;
    padding: 30px 20px;
    text-align: center;
    border-bottom: 2px solid #d0e4ff;
}

.consultancy-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.consultancy-wrapper h2 {
    font-size: 1.8rem;
    color: #1a3c6e;
    margin-bottom: 10px;
}

.consultancy-wrapper p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

.consultancy-wrapper a {
    color: #007BFF;
    font-weight: 600;
    text-decoration: underline;
}

/* ─── Registration Section ─────────────────────────────────────── */
#registration {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 60px 20px;
    background: #fff;
}

/* Reminder / Left side */
.reminder {
    flex: 1 1 340px;
    max-width: 460px;
}

.reminder p {
    color: #007BFF;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
}

.reminder h1 {
    font-size: 2rem;
    color: #1a3c6e;
    margin-bottom: 24px;
    line-height: 1.3;
}

.time {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.date {
    background: #f0f6ff;
    border: 1px solid #cce0ff;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.9rem;
    color: #1a3c6e;
    font-weight: 600;
    line-height: 1.5;
    min-width: 110px;
    text-align: center;
}

/* Form / Right side */
.form {
    flex: 1 1 340px;
    max-width: 480px;
    background: #f9fbff;
    border-radius: 16px;
    padding: 36px 30px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.form h3 {
    font-size: 1.4rem;
    color: #1a3c6e;
    margin-bottom: 24px;
    font-weight: 700;
}

.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1.5px solid #cce0ff;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #333;
    background: #fff;
    transition: border-color 0.25s;
    box-sizing: border-box;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.12);
}

.form textarea {
    resize: vertical;
    min-height: 100px;
}

.reg-btn {
    width: 100%;
    padding: 14px;
    background: #007BFF;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s, transform 0.15s;
    letter-spacing: 0.3px;
}

.reg-btn:hover {
    background: #0056d6;
    transform: translateY(-1px);
}

/* ─── British Council Verification Popup ──────────────────────── */
.verify-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.verify-popup-box {
    position: relative;
    padding: 0;
}

.verify-popup-image {
    width: 90vw;
    max-width: 600px;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.verify-popup-close {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 38px;
    cursor: pointer;
    color: #fff;
    z-index: 10000;
    line-height: 1;
    transition: opacity 0.2s;
}

.verify-popup-close:hover {
    opacity: 0.7;
}

/* ─── Shared Modal Base (Login / Success / Error) ─────────────── */
.blu-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;              /* toggled by JS */
    justify-content: center;
    align-items: center;
    z-index: 9000;
    padding: 20px;
    backdrop-filter: blur(3px);
}

.blu-modal-box {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 40px 36px 36px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
    text-align: center;
    animation: modalPop 0.25s ease;
}

@keyframes modalPop {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

/* Close (×) button — only login modal has it */
.blu-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 26px;
    color: #888;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.blu-modal-close:hover { color: #333; }

/* Icon */
.blu-modal-icon {
    font-size: 2.8rem;
    margin-bottom: 14px;
    line-height: 1;
}

/* Title */
.blu-modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a3c6e;
    margin-bottom: 10px;
}

/* Message */
.blu-modal-msg {
    font-size: 0.97rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 22px;
}

/* Primary action button */
.blu-modal-btn {
    display: inline-block;
    padding: 12px 36px;
    background: #007BFF;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    width: 100%;
    margin-top: 4px;
}

.blu-modal-btn:hover {
    background: #0056d6;
    transform: translateY(-1px);
}

.blu-modal-btn:disabled {
    background: #a0c4ff;
    cursor: not-allowed;
    transform: none;
}

/* ─── Inline Login Form (inside login modal) ──────────────────── */
#inlineLoginForm {
    margin-top: 6px;
    text-align: left;
}

#inlineLoginForm input {
    width: 100%;
    padding: 11px 14px;
    margin-bottom: 14px;
    border: 1.5px solid #cce0ff;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #333;
    background: #f9fbff;
    box-sizing: border-box;
    transition: border-color 0.25s;
}

#inlineLoginForm input:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.12);
}

/* Error text inside login modal */
.blu-modal-error {
    color: #e53935;
    font-size: 0.88rem;
    margin-bottom: 10px;
    text-align: left;
    font-weight: 500;
}

/* Footer link */
.blu-modal-footer-text {
    margin-top: 18px;
    font-size: 0.88rem;
    color: #777;
}

.blu-modal-footer-text a {
    color: #007BFF;
    font-weight: 600;
    text-decoration: none;
}

.blu-modal-footer-text a:hover {
    text-decoration: underline;
}

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    #registration {
        flex-direction: column;
        align-items: center;
        padding: 40px 16px;
    }

    .reminder h1 {
        font-size: 1.5rem;
    }

    .time {
        justify-content: center;
    }

    .form {
        padding: 28px 20px;
    }

    .blu-modal-box {
        padding: 32px 22px 28px;
    }
}