﻿:root {
    --auth-accent-color: #02263F;
}

.auth-card {
    width: 100%;
    max-width: 400px; 
    min-width: 300px; 
}

.auth-card-large {
    max-width: 800px;
    /*min-width: 600px;*/
}

.account-section {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #fff;
}

    .account-section:last-child {
        margin-bottom: 0;
    }

.auth-logo {
    max-width: 90%;
    max-height: 70px;
}

.auth-header-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--auth-accent-color);
}

.auth-btn,
.auth-btn:link,
.auth-btn:visited {
    background-color: var(--auth-accent-color);
    border-color: var(--auth-accent-color);
    color: #fff; /* force white for anchor-buttons too */
}

    .auth-btn:hover,
    .auth-btn:focus {
        background-color: #fff;
        color: var(--auth-accent-color);
        border-color: var(--auth-accent-color);
    }

    .auth-btn:disabled {
        opacity: 0.6;
    }




/* Generic link style inside auth cards — exclude button anchors */
.auth-card a:not(.auth-btn),
.auth-card .auth-link {
    color: var(--auth-accent-color);
    text-decoration: none;
}

    .auth-card a:not(.auth-btn):hover,
    .auth-card .auth-link:hover {
        text-decoration: underline;
    }


/* the checkbox vertical alignment with its label */
.auth-card .form-check-input {
    margin-top: 0; /* override Bootstrap’s default top offset */
    vertical-align: middle; /* keep it optically centered with text */
}


/*accordion for flows/steps with styled headers*/ 
/* Accordion Flow Styling */
.accordion-flow .accordion-item {
    border: none;
    margin-bottom: 0.5rem;
}

.accordion-flow .accordion-button {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #212529;
    font-weight: 500;
    padding: 1rem 1.25rem;
}

.accordion-flow .accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    border-color: var(--auth-accent-color);
    color: var(--auth-accent-color);
}

.accordion-flow .accordion-button:focus {
    box-shadow: none;
    border-color: var(--auth-accent-color);
}

.accordion-flow .accordion-button::after {
    filter: brightness(0.5);
}

.accordion-flow .accordion-button:not(.collapsed)::after {
    filter: none;
}

/* Icon styling - vierkantje zoals card header */
.accordion-flow .accordion-button i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background-color: var(--auth-accent-color);
    color: white;
    border-radius: 0.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.accordion-flow .accordion-body {
    padding: 1.5rem 1.25rem;
    background-color: #fff;
}


/* Profile Avatar Styles */
.profile-avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.profile-avatar-fallback {
    background-color: var(--auth-accent-color);
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
}

.profile-avatar-letter {
    user-select: none;
}

/* Make avatar responsive on mobile */
@media (max-width: 767px) {
    .profile-avatar {
        width: 80px;
        height: 80px;
    }

    .profile-avatar-fallback {
        font-size: 2rem;
    }
}