/* =========================
   Modal Overlay
========================= */
.signup-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* =========================
   Modal Box
========================= */
.signup-box {
    background: linear-gradient(180deg, #ffffff, #f4f7fb);
    padding: 28px 26px;
    border-radius: 12px;
    width: 92%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
    animation: zoomFade 0.35s ease;
}

/* Modal Title */
.signup-box > h4 {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 22px;
    color: #0b3c5d;
}

/* =========================
   Close Button
========================= */
.close-btn {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    z-index: 20;
    transition: all 0.2s ease;
}

.close-btn:hover {
    color: #ff3c2f;
    transform: rotate(90deg);
}

/* =========================
   Signup Card
========================= */
.signup-card {
    background: #fff;
    display: flex;
    gap: 18px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    margin-bottom: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.signup-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}

/* =========================
   Icon
========================= */
.signup-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.icon.green {
    background: linear-gradient(135deg, #63b746, #3f9c2c);
}

.icon.blue {
    background: linear-gradient(135deg, #0f5ea8, #0b3c5d);
}

/* =========================
   Content
========================= */
.signup-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #0b3c5d;
}

.signup-card p {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 12px;
}

/* =========================
   Actions
========================= */
.actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Button */
.btn-outline {
    border: 1px solid #0f5ea8;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #0f5ea8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #0f5ea8;
    color: #fff;
    box-shadow: 0 4px 12px rgba(15,94,168,0.35);
}

/* =========================
   Animation
========================= */
@keyframes zoomFade {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Candidate CTA */
.signup-card.candidate .btn-outline {
    border-color: #0f5ea8;
    color: #0f5ea8;
}

.signup-card.candidate .btn-outline:hover {
    background: #0f5ea8;
      color: #fff;
}

/* Employer CTA */
.signup-card.employer .btn-outline {
    border-color: #ff6b35;
    color: #ff6b35;
}

.signup-card.employer .btn-outline:hover {
    background: #ff6b35;
    color: #fff;
}

/* Modal exit animation */
.signup-modal.fade-out {
    animation: fadeOut 0.35s ease forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(0.98);
    }
}

@media (max-width: 576px) {

    .signup-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .signup-card .icon {
        margin-bottom: 12px;
    }

    .actions {
        width: 100%;
        justify-content: center;
    }

    .btn-outline {
        width: 100%;
        padding: 10px;
        font-size: 15px;
    }
}
.signin-links {
    margin-top: 18px;
    text-align: center;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.signin-links p {
    font-size: 14px;
    color: #555;
}

.signin-links a {
    color: #0b3c5d;
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
    transition: color 0.3s ease;
}

.signin-links a:hover {
    color: #1f6fd8;
    text-decoration: underline;
}

