﻿/* =====================================================
Shared Account Pages (Login / Register / Forgot)
LARGER + FIXED CAROUSEL IMAGE HEIGHT
===================================================== */

:root {
    --kalsec-green: #184C26;
    --kalsec-green-2: #13663a;
    --kalsec-accent: #009A44;
    --kalsec-bg: #f6f8fb;
    --kalsec-danger: #e5232e;
    --kalsec-shadow: 0 10px 24px rgba(16, 24, 40, .12);
    --kalsec-radius: 16px;
}




/* Page wrapper */
.account-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 0 3rem; /* larger breathing room */
}

/* Card shell */
.account-card {
    background: #fff;
    border-radius: var(--kalsec-radius);
    box-shadow: var(--kalsec-shadow);
    overflow: hidden;
    border: 0;
}

    /* IMPORTANT: make row/cols stretch so carousel can be full height */
    .account-card > .row {
        align-items: stretch;
    }

/* Body/padding */
.account-body {
    padding: 3rem 4rem; /* larger than compact */
    color: var(--kalsec-green);
}

.account-body--compact {
    padding: 2rem 4rem; /* was 3rem 4rem */
}


/* Smaller screens */
@media (max-width: 576px) {
    .account-body {
        padding: 2rem 1.5rem;
    }
}

/* Logo */
.account-logo {
    width: 200px;
    max-width: 100%;
    height: auto;
    margin-bottom: .25rem;
}

/* Headings */
.account-title {
    font-weight: 600;
    margin-top: .25rem;
    margin-bottom: .25rem;
}

.account-subtitle {
    font-size: .95rem;
    color: #6c757d;
    margin-bottom: .75rem;
}

/* Inputs */
.account-body .form-control,
.account-body .form-select {
    border-radius: 12px;
    padding: .85rem 1rem;
    font-size: 1rem;
}


/* Primary button */
.btn-green-solid {
    background-color: var(--kalsec-green);
    color: #fff;
    border-radius: 999px;
    padding: .75rem 1.5rem;
    font-size: 1rem;
    border: 0;
}

/* Links */
.account-link {
    color: var(--kalsec-accent);
    text-decoration: none;
    font-weight: 600;
}

    .account-link:hover {
        text-decoration: underline;
    }

/* Error text */
.account-error {
    color: var(--kalsec-danger);
    font-size: .9rem;
}

/* Divider */
.account-divider {
    margin: .9rem 0;
}

/* Muted text */
.account-muted {
    color: #6c757d;
    font-size: .95rem;
}

/* ✅ CAROUSEL FIX: force the right panel + carousel + items + images to fill height */
.account-media {
    height: 100%;
}

    .account-media .carousel,
    .account-media .carousel-inner,
    .account-media .carousel-item {
        height: 100%;
    }

        /* The image must fill the slide */
        .account-media .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block; /* avoids inline image gaps */
        }

/* Checkbox */
.account-checkbox {
    display: flex;
    align-items: center;
    gap: .5rem;
    user-select: none;
    font-size: .95rem;
}

    .account-checkbox input[type="checkbox"] {
        transform: translateY(-1px);
    }

/* Progress bar */
.account-body .progress {
    border-radius: 999px;
    overflow: hidden;
    height: .7rem;
}

.account-body .progress-bar {
    border-radius: 999px;
}
/* Make selects match inputs more consistently */
.account-body select.form-select,
.account-body select.form-control {
    border-radius: 12px;
    padding: .85rem 3rem .85rem 1rem; /* extra right padding for the arrow */
    font-size: 1rem;
    line-height: 1.25;
    height: calc(1.25em + 1.7rem + 2px); /* aligns with your padding */
    background-color: #fff;
    color: #212529;
    /* normalize native select rendering */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* custom arrow (works regardless of bootstrap version) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6 6 6-6' stroke='%236c757d' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 16px;
}

    /* Optional: match focus ring to your theme */
    .account-body select.form-select:focus,
    .account-body select.form-control:focus {
        border-color: rgba(0, 154, 68, .45); /* your accent */
        box-shadow: 0 0 0 .2rem rgba(0, 154, 68, .18);
        outline: 0;
    }
