﻿/* Login - start */

:root {
    --brand: #FFB700;
    --tertiary: #FC6C24;
    --text-primary: #211B11;
    --text-secondary: #514532;
    --text-accent: #6B4B00;
    --outline: #837560;
    --success: #0C8949;
    --danger: #BA1A1A;
    --warning: #FC6C24;
    --black: #211B11;
    --white: #ffffff;
}

hr.divider {
    border: 0;
    height: 1px;
    background-color: #E0E0E0;
    margin: 20px 0;
}

.welcome-page {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;    
}

    .welcome-page .content-wrapper {
        width: 360px;
    }

    .welcome-page .header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 30px;
        margin-top: 50px;
    }

        .welcome-page .header h1 {
            color: var(--white);
            font-size: 45px;
            margin-bottom: 0;
            font-family: 'Poppins', sans-serif;
            font-weight: bold;
        }

        .welcome-page .header p {
            color: #a8a8a8;
            font-size: 16px;
            margin-bottom: 0;
            font-family: 'Poppins', sans-serif;
        }

    .welcome-page .login-btn {
        width: 100%;
        font-weight: 600;
        background-color: var(--brand);
        color: var(--text-accent);
        font-size: 1rem;
        padding: 0.75rem 3rem;
        border: none;
        border-radius: 40px;
        cursor: pointer;
        transition: background-color 0.2s ease;
        font-family: 'Poppins', sans-serif;
    }

        .welcome-page .login-btn:hover {
            background-color: #ffcf62;
        }

.login-logo {
    margin-bottom: 30px;
    max-width: 80px;
}

/* Login - end */

/* Internal pages - start */

/* Compact brand bar rendered by _BrandHeader on the default layout.
   Same treatment as .login-header, sized for content pages instead of a hero. */
.app-header {
    background-color: var(--black);
    border-bottom: 8px solid var(--brand);
    padding: 1rem 1.5rem;
}

    .app-header .app-brand {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        text-decoration: none;
    }

    .app-header .app-logo {
        max-height: 32px;
    }

    .app-header span {
        color: var(--white);
        font-family: 'Roboto', sans-serif;
        font-size: 1.25rem;
        font-weight: bold;
        letter-spacing: 0.5px;
    }

.body-container {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

/* layout.css zeroes heading/paragraph margins for the login hero;
   restore normal flow spacing on content pages. */
.body-container h1,
.body-container h2,
.body-container h3,
.body-container p {
    margin-bottom: 0.5rem;
}

.body-container .lead {
    margin-bottom: 1.5rem;
}

    .body-container .lead h1 {
        color: var(--text-primary);
        font-weight: bold;
    }

    .body-container .lead p {
        color: var(--text-secondary);
    }

/* Brand the stock Bootstrap buttons used by the Duende pages
   (Consent, Grants, Device, Ciba, Logout) - matches .btn.login-btn. */
.body-container .btn-primary {
    background-color: var(--brand);
    border-color: var(--brand);
    color: var(--text-accent);
    border-radius: 2rem;
    font-weight: 600;
    padding: 0.5rem 2rem;
}

    .body-container .btn-primary:hover,
    .body-container .btn-primary:focus {
        background-color: #ffcf62;
        border-color: #ffcf62;
        color: var(--text-accent);
    }

.body-container .btn-danger {
    background-color: var(--danger);
    border-color: var(--danger);
    border-radius: 2rem;
    font-weight: 600;
}

.body-container .btn-secondary {
    border-radius: 2rem;
    font-weight: 600;
}

.body-container .card-header {
    background-color: #F6F1E7;
    color: var(--text-primary);
    font-weight: 600;
}

.body-container a {
    color: var(--tertiary);
}

.body-container .form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(255, 183, 0, 0.25);
}

/* Internal pages - end */
