/* Shared SidelinePool auth page styling */

html,
body {
    min-height: 100%;
}

body.auth-page {
    background-color: #eef2f7;
    background-image:
        repeating-linear-gradient(
            -28deg,
            rgba(21, 37, 54, 0.055) 0,
            rgba(21, 37, 54, 0.055) 1px,
            transparent 1px,
            transparent 78px
        );
    overflow-x: hidden;
}

body.auth-page::before {
    content: "sidelinepool.com sidelinepool.com sidelinepool.com sidelinepool.com sidelinepool.com sidelinepool.com";
    position: fixed;
    top: -120px;
    left: -180px;
    width: 160%;
    height: 160%;
    z-index: 0;
    color: rgba(21, 37, 54, 0.055);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 8px;
    line-height: 105px;
    transform: rotate(-24deg);
    white-space: pre-wrap;
    pointer-events: none;
}

.auth-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 12px;
}

.auth-card {
    width: 100%;
    max-width: 390px;
    padding: 24px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(21, 37, 54, 0.12);
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(21, 37, 54, 0.18);
}

.auth-brand {
    text-align: center;
    margin-bottom: 18px;
}

.auth-logo {
    display: block;
    max-width: 112px;
    height: auto;
    margin: 0 auto 8px auto;
}

.auth-site-name {
    color: #152536;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.auth-page-title {
    margin: 0 0 18px 0;
    color: #243f5c;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
}

.auth-card .form-control {
    margin-bottom: 15px;
    border-radius: 10px;
}

.auth-card .btn {
    border-radius: 10px;
}

.auth-card .btn-primary {
    background-color: #152536;
    border-color: #152536;
}

.auth-card .btn-primary:hover,
.auth-card .btn-primary:focus {
    background-color: #243f5c;
    border-color: #243f5c;
}

.auth-card p {
    margin-top: 14px;
    margin-bottom: 0;
    color: #34495e;
    font-size: 14px;
    line-height: 1.45;
}

.auth-card a {
    color: #0d5e9c;
    font-weight: 600;
}

.auth-card .responseError {
    padding: 10px 12px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: rgba(238, 242, 247, 0.9);
    line-height: 1.4;
}

.password-container {
    position: relative;
    width: 100%;
}

.password-container input {
    width: 100%;
    padding-right: 42px;
}

.password-container .toggle-password-icon {
    position: absolute;
    right: 13px;
    top: 17px;
    cursor: pointer;
    color: #243f5c;
}

@media (max-width: 480px) {
    body.auth-page::before {
        font-size: 24px;
        line-height: 82px;
        letter-spacing: 5px;
    }

    .auth-shell {
        align-items: flex-start;
        padding-top: 24px;
    }

    .auth-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .auth-logo {
        max-width: 92px;
    }

    .auth-site-name {
        font-size: 22px;
    }
}

.signup-security-note {
    background: #eef5fb;
    border: 1px solid #b7d4ec;
    border-left: 4px solid #3E7CB1;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 13px;
    color: #2C3E50;
}

.phone-help {
    font-size: 12px;
    color: #555;
    margin-top: -10px;
    margin-bottom: 15px;
}

.auth-card label {
    color: #243f5c;
    font-weight: 700;
    font-size: 14px;
}

.auth-card .g-recaptcha {
    margin-bottom: 10px;
}

@media (max-width: 360px) {
    .auth-card .g-recaptcha {
        transform: scale(0.92);
        transform-origin: left center;
    }
}

.recovery-option-box {
    border: 1px solid rgba(21, 37, 54, 0.14);
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #f8fafc;
}

.recovery-option-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.auth-card .forgot {
    display: block;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

.auth-card .form-group {
    margin-bottom: 15px;
}

.auth-card .form-password-reset-heading {
    display: none;
}