/* =============================================================================
   GCamSupport — Auth Page Styles
   ============================================================================= */

body.gcam-auth-body {
    min-height: 100vh;
    background: linear-gradient(135deg, #1d2234 0%, #2d3561 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Open Sans', sans-serif;
    padding: 20px;
}

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

.gcam-auth-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.gcam-auth-brand { text-align: center; margin-bottom: 32px; }

.gcam-auth-logo {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #4680ff, #2a63db);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    margin: 0 auto 16px;
    box-shadow: 0 8px 20px rgba(70,128,255,0.35);
}

.gcam-auth-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a2035;
    margin: 0 0 4px;
}

.gcam-auth-subtitle {
    color: #6c757d;
    font-size: 13px;
    margin: 0;
}

.gcam-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
}
.gcam-alert-danger  { background: #f8d7da; color: #721c24; }
.gcam-alert-success { background: #d4edda; color: #155724; }
.gcam-alert-info    { background: #d1ecf1; color: #0c5460; }

.gcam-form-group { margin-bottom: 18px; }

.gcam-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
}
.gcam-label-link { font-size: 12px; color: #4680ff; text-transform: none; font-weight: 500; }

.gcam-input-group {
    position: relative;
    display: flex;
    align-items: center;
}
.gcam-input-icon {
    position: absolute;
    left: 12px;
    color: #adb5bd;
    font-size: 16px;
    pointer-events: none;
    display: flex;
}
.gcam-input {
    width: 100%;
    padding: 10px 40px 10px 38px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    color: #1a2035;
    background: #f8f9fa;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.gcam-input:focus {
    border-color: #4680ff;
    box-shadow: 0 0 0 3px rgba(70,128,255,0.12);
    background: #fff;
}
.gcam-pw-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #adb5bd;
    cursor: pointer;
    padding: 4px;
    display: flex;
    font-size: 16px;
}
.gcam-pw-toggle:hover { color: #495057; }

.gcam-btn-primary {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4680ff, #2a63db);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(70,128,255,0.3);
}
.gcam-btn-primary:hover { background: linear-gradient(135deg, #2a63db, #1a4fcc); transform: translateY(-1px); }

.gcam-auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: #adb5bd;
}

/* Password strength */
.pw-requirements { margin-top: 10px; }
.pw-check { font-size: 12px; display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.pw-check.pass { color: #155724; }
.pw-check:not(.pass) { color: #adb5bd; }

.pw-strength-bar { height: 4px; background: #e9ecef; border-radius: 4px; margin-top: 8px; }
.pw-strength-fill { height: 100%; border-radius: 4px; transition: width .3s, background .3s; width: 0; }
