/* HockeyBox Identity Pages Branding */

/* Full-page gradient background */
html, body {
    height: 100%;
    margin: 0;
}

body {
    background: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main container */
.identity-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

/* Centered card */
.identity-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
}

/* Logo/branding */
.identity-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.identity-logo h1 {
    color: #3a0647;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.identity-logo p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0.5rem 0 0;
}

/* Page title */
.identity-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.identity-title h2 {
    color: #212529;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.identity-title p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0.5rem 0 0;
}

/* Form styling */
.identity-card .form-floating {
    margin-bottom: 1rem;
}

.identity-card .form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
}

.identity-card .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Primary button */
.btn-identity {
    background: #667eea;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: background 0.2s ease;
    width: 100%;
}

.btn-identity:hover,
.btn-identity:focus {
    background: #5568d3;
    color: #ffffff;
}

.btn-identity:active {
    background: #4a5bc7;
}

/* Override Bootstrap primary button */
.identity-card .btn-primary {
    background: #667eea;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.identity-card .btn-primary:hover,
.identity-card .btn-primary:focus {
    background: #5568d3;
}

.identity-card .btn-primary:active {
    background: #4a5bc7;
}

/* Links */
.identity-card a {
    color: #667eea;
    text-decoration: none;
}

.identity-card a:hover {
    color: #5568d3;
    text-decoration: underline;
}

/* Footer links section */
.identity-links {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.identity-links p {
    margin: 0.5rem 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Checkbox styling */
.identity-card .form-check {
    margin-bottom: 1rem;
}

.identity-card .form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.identity-card .form-check-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Validation messages */
.identity-card .text-danger {
    font-size: 0.85rem;
}

/* Alert messages */
.identity-card .alert {
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Status message styling */
.identity-card .alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.identity-card .alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.identity-card .alert-warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
}

/* Footer */
.identity-footer {
    text-align: center;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.identity-footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.identity-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .identity-card {
        padding: 1.5rem;
        margin: 1rem;
        border-radius: 8px;
    }

    .identity-logo h1 {
        font-size: 1.5rem;
    }

    .identity-title h2 {
        font-size: 1.25rem;
    }
}

/* Error page styling */
.identity-error {
    text-align: center;
}

.identity-error h2 {
    color: #dc3545;
    margin-bottom: 1rem;
}

.identity-error p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}
