/* ── Vertical divider & OR badge ─────────────────────────────── */
.vl {
    border-left: 1px solid rgba(82, 113, 165, 0.35);
    height: 30%;
    text-align: center;
    position: relative;
    margin-left: -1px;
    top: 0;
    left: 50%;
}

@media (max-width: 576px) {
    .vl { display: none; }
}

.or {
    position: relative;
    width: 34px;
    height: 34px;
    background: #5271A5;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(82, 113, 165, 0.5);
    line-height: 34px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 10px auto;
    right: 3px;
}

@media (max-width: 576px) {
    .or { margin-left: 42%; }
}

/* ── Login card ───────────────────────────────────────────────── */
.cardLogin {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background: rgba(255, 255, 255, 0.97);
    border: none;
    border-radius: 14px;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.45),
        0 4px 16px  rgba(0, 0, 0, 0.20),
        0 0 0 1px   rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

/* Accent stripe along the top of the card */
.cardLogin::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #5271A5 0%, #7ab4e8 50%, #5271A5 100%);
}

.cardLogin > hr {
    margin-right: 0;
    margin-left: 0;
}

@media (max-width: 576px) {
    .cardLogin { margin-top: 120px; }
}

/* ── Login card body padding ──────────────────────────────────── */
.login-card-body {
    padding: 28px 32px 24px !important;
}

/* ── Logo container ───────────────────────────────────────────── */
.imgcontainer {
    text-align: center;
    margin-bottom: 4px;
}

.imgcontainer .avatar {
    max-height: 70px;
    width: auto;
}

/* ── Sign-in heading ──────────────────────────────────────────── */
.login-box-msg {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1b2d56 !important;
    letter-spacing: -0.3px;
    margin-bottom: 18px !important;
}

/* ── Form inputs ──────────────────────────────────────────────── */
.cardLogin .form-control {
    border-radius: 7px;
    border: 1px solid #d0d8e8;
    font-size: 14px;
    padding: 9px 13px;
    height: auto;
    background: #f7f9fc;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cardLogin .form-control:focus {
    border-color: #5271A5;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(82, 113, 165, 0.15);
    outline: none;
}

.cardLogin label {
    font-size: 12px;
    font-weight: 600;
    color: #5a6a85;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ── Sign-in button ───────────────────────────────────────────── */
.cardLogin .btn-primary.navbar-lightblue,
.cardLogin .btn.navbar-lightblue {
    background: linear-gradient(135deg, #5271A5 0%, #3a5a9a 100%);
    border: none;
    border-radius: 7px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
    padding: 10px 0;
    box-shadow: 0 4px 14px rgba(82, 113, 165, 0.40);
    transition: transform 0.15s, box-shadow 0.15s;
}

.cardLogin .btn-primary.navbar-lightblue:hover,
.cardLogin .btn.navbar-lightblue:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(82, 113, 165, 0.55);
}

.cardLogin .btn-primary.navbar-lightblue:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(82, 113, 165, 0.30);
}

/* ── Register / Xero links column ────────────────────────────── */
.cardLogin .btn-block {
    border-radius: 7px;
}

/* ── Forgot password link ─────────────────────────────────────── */
.cardLogin .forgotPassword {
    font-size: 12px;
    color: #5271A5;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.15s;
}

.cardLogin .forgotPassword:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ── Remember me checkbox ─────────────────────────────────────── */
.cardLogin .icheck-primary label {
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
    font-weight: 400;
    color: #4a5568;
}

/* ── Error/success messages ───────────────────────────────────── */
#errorDiv {
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 12px;
    font-size: 13px !important;
    color: #dc2626 !important;
}

/* ── Footer (app store badges + copyright) ────────────────────── */
.login-box .card-body.login-card-body[style*="transparent"] {
    padding: 8px 0 !important;
}

.login-box .card-body.login-card-body[style*="transparent"] .imgcontainer .avatar {
    max-height: 38px;
    opacity: 0.75;
    filter: brightness(10);
    transition: opacity 0.2s;
    cursor: pointer;
}

.login-box .card-body.login-card-body[style*="transparent"] .imgcontainer:hover .avatar {
    opacity: 1;
}

.login-box .card-body.login-card-body[style*="transparent"] p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    margin-top: 4px;
}

/* ── App buttons (misc) ───────────────────────────────────────── */
.app-btn {
    width: 45%;
    max-width: 160px;
    color: #fff;
    margin: 20px 10px;
    text-align: left;
    border-radius: 5px;
    text-decoration: none;
    font-family: "Lucida Grande", sans-serif;
    font-size: 10px;
    text-transform: uppercase;
}

.blu {
    background-color: #101010;
    transition: background-color 0.25s linear;
}

.app-btn:hover { background-color: #454545; }

/* ── Cookie consent modal ─────────────────────────────────────── */
.allow-button {
    height: 30px;
    min-width: 100px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 5px;
    border: none;
    background: #5271A5;
    cursor: pointer;
    transition: background 0.15s;
}

.allow-button:hover { background: #3a5a9a; }
