/**
 * AUTH STYLES
 * Styles pour les pages d'authentification (login, register)
 */

.auth-container {
    min-height: calc(100vh - 200px);
}

.auth-wrapper {
    width: 100%;
    max-width: 450px;
}

.auth-brand {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
}

.auth-card {
    background: var(--color-bg-secondary);
}

.auth-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
}

.auth-label {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-medium);
}

.auth-link {
    font-size: var(--font-size-sm);
    color: var(--color-purple-primary);
}

.auth-input-wrapper {
    position: relative;
}

.auth-input {
    padding-right: 40px;
}

.auth-input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
}

.auth-input-icon.clickable {
    cursor: pointer;
    user-select: none;
}

/* Hide native browser password reveal eye icons */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input[type="password"]::-webkit-credentials-auto-fill-button {
    display: none;
    visibility: hidden;
    pointer-events: none;
}

.auth-submit {
    font-size: var(--font-size-base);
}

.auth-divider-line {
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.auth-divider-text {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

.auth-footer-text {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.auth-footer-link {
    color: var(--color-purple-primary);
    font-weight: var(--font-weight-medium);
}

/* Error Messages */
.auth-errors {
    color: #ef4444;
    font-size: var(--font-size-sm);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.field-error {
    color: #ef4444;
    font-size: var(--font-size-xs);
    margin-top: 4px;
}

.auth-submit-link {
    text-decoration: none;
    display: block;
    text-align: center;
}

.auth-help-text {
    font-size: 0.8rem;
    color: #71717A;
    margin-bottom: 1rem;
}

/* Founder / Admin Bootstrap section */
.founder-section {
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.founder-summary {
    cursor: pointer;
    list-style: none;
}

.founder-summary::-webkit-details-marker {
    display: none;
}

.founder-summary::before {
    content: "▶ ";
    font-size: 0.65rem;
}

.founder-section[open] .founder-summary::before {
    content: "▼ ";
}