﻿/* Make logo smaller and centered for manual registration */
.manual-flow .small-logo {
    max-height: 80px;
}

/* Override split screen style for manual flow */
.manual-flow {
    background: #fff;
    border-radius: 12px;
    max-width: 980px;
    margin: 0 auto;
    padding: 40px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

    .manual-flow h2.heading {
        color: #004A8F;
        font-weight: 600;
    }

.table th, .table td {
    vertical-align: middle;
}
/* Style tabs with YWCA brand */
/* YWCA tabs */
.ywca-tabs .nav-link {
    color: var(--ywca-blue);
    font-weight: 600;
    border: 1px solid transparent;
}

    .ywca-tabs .nav-link:hover {
        color: var(--navy-600);
    }

    .ywca-tabs .nav-link.active {
        background-color: var(--ywca-blue);
        color: #fff;
        border-color: var(--ywca-blue) var(--ywca-blue) #fff;
    }


.required-star::after {
    content: "*";
    color: red;
    margin-left: 4px;
}

.ywca-btn {
    background-color: #004A8F;
    color: white;
    border: none;
}

    .ywca-btn:hover {
        background-color: #003066;
    }

.container {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

h2 {
    color: #004A8F;
    font-weight: 700;
}

.btn-myinfo {
    background-color: var(--brand, #0d6efd);
    border-color: var(--brand, #0d6efd);
    color: #fff;
    font-weight: 600;
    padding: .5rem 1rem;
}

    .btn-myinfo:hover {
        filter: brightness(.95);
        color: #fff;
    }

@media (max-width: 576px) {
    #btnMyInfo {
        width: 100%;
    }
}


@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .d-flex.align-items-center {
        flex-direction: column;
        text-align: center;
    }

        .d-flex.align-items-center img {
            margin-bottom: 10px;
        }

    .nav-tabs .nav-link {
        font-size: 0.9rem;
    }

    dt, dd {
        font-size: 0.95rem;
    }
}
/* Password helper box */
.pw-helper {
    margin-top: 10px;
    background: #f8f9fb;
    border: 1px solid #e4e7ee;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 12px; /* ~8–9pt */
    color: #333;
}

.pw-req-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr; /* two columns on wide screens */
    gap: 6px 16px;
}

.pw-req {
    position: relative;
    padding-left: 20px; /* space for icon */
    line-height: 1.3;
    color: #666; /* default muted */
}

    /* default bullet (gray dot) */
    .pw-req::before {
        content: "•";
        position: absolute;
        left: 0;
        top: 0;
        transform: translateY(1px);
        font-weight: 700;
        color: #b5bac7;
    }

    /* when requirement is satisfied -> green check */
    .pw-req.ok {
        color: #1b5e20; /* dark green text */
        font-weight: 600;
    }

        .pw-req.ok::before {
            content: "✓";
            color: #2e7d32; /* green icon */
        }

    /* when requirement is currently failing (user has typed) -> red cross */
    .pw-req.bad {
        color: #9b1c1c; /* red text */
    }

        .pw-req.bad::before {
            content: "✗";
            color: #c62828; /* red icon */
        }

/* Stack to one column on small screens */
@media (max-width: 600px) {
    .pw-req-list {
        grid-template-columns: 1fr;
    }
}
:root {
    --ywca-blue: #254CA6; /* Tabs blue */
    --ywca-pink: #CF3679; /* Buttons pink */
    --myinfo-red: #EC1C24; /* Singpass/MyInfo red (adjust if you have an official spec) */
    --navy-600: #003A8C; /* slightly darker blue for hover states */
}

/* Ensure page uses Montserrat (layout already loads the font) */
html, body {
    font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #f6f9fc;
}
.btn-primary {
    background-color: var(--ywca-pink);
    border-color: var(--ywca-pink);
    font-weight: 700;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: #b82e69; /* darker pink */
        border-color: #b82e69;
    }
.btn-secondary {
    background-color: #e9eef6;
    border-color: #e9eef6;
    color: #1a1a1a;
}

    .btn-secondary:hover {
        background-color: #dbe5f3;
        border-color: #dbe5f3;
    }
/* Singpass/MyInfo button look */
.btn-myinfo {
    background-color: var(--myinfo-red);
    border-color: var(--myinfo-red);
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1rem;
    border-radius: .5rem;
}

    .btn-myinfo:hover,
    .btn-myinfo:focus {
        filter: brightness(.95);
        color: #fff;
    }
