/* SR Frontend Login - Base Styles */
/* These provide structure; customize to match your theme */

.sr-auth-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
}

.sr-auth-form .sr-field {
    margin-bottom: 1.25rem;
}

.sr-auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.sr-auth-form input[type="email"],
.sr-auth-form input[type="password"],
.sr-auth-form input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.sr-auth-form input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.sr-auth-form .sr-remember {
    margin-bottom: 1.5rem;
}

.sr-auth-form .sr-remember label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.sr-auth-form .sr-remember input[type="checkbox"] {
    width: auto;
}

.sr-auth-form .sr-submit {
    margin-bottom: 1.5rem;
}

.sr-auth-form .sr-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sr-auth-form .sr-button:hover {
    background: #005a87;
}

.sr-auth-form .sr-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.sr-auth-form .sr-links {
    text-align: center;
    font-size: 0.875rem;
}

.sr-auth-form .sr-links a {
    color: #0073aa;
    text-decoration: none;
}

.sr-auth-form .sr-links a:hover {
    text-decoration: underline;
}

.sr-auth-form .sr-description {
    margin-bottom: 1.5rem;
    color: #666;
}

/* Messages */
.sr-auth-form .sr-message {
    padding: 0.875rem 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.sr-auth-form .sr-message.sr-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.sr-auth-form .sr-message.sr-success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

/* Dynamic Menu Items */
.sr-hidden {
    display: none !important;
}

/* Additional field styling */
.sr-field-url {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.sr-field-url input,
.sr-field-url label {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}
