/* 
 * Auth Forms CSS
 * Provides styling for the GWS Universal App authentication forms
 * This includes login, register, forgot password, and reset password forms
 */

/* Auth Container - Full Height Centered */
.gws-auth-container {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 15px;
}

/* Auth Card */
.gws-auth-card {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Auth Tabs */
.gws-auth-tabs {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0;
}

.gws-auth-tabs .nav-link {
    border-radius: 0;
    padding: 12px 15px;
    font-weight: 600;
    color: #555;
    transition: all 0.3s;
}

.gws-auth-tabs .nav-link.active {
    color: var(--brand-primary, #6c2eb6);
    border-bottom: 2px solid var(--brand-primary, #6c2eb6);
    background-color: transparent;
}

/* Auth Tab Content */
.gws-auth-tab-content {
    padding: 25px 30px 30px;
}

/* Form Title and Subtitle */
.gws-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-primary, #6c2eb6);
    margin-bottom: 5px;
}

.gws-form-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

/* Form Styles */
.gws-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gws-form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s;
}

.gws-form-control:focus {
    border-color: var(--brand-primary, #6c2eb6);
    box-shadow: 0 0 0 3px rgba(108, 46, 182, 0.1);
}

/* Remember Me & Forgot Password */
.gws-rememberme {
    font-size: 0.9rem;
}

.gws-form-link {
    font-size: 0.9rem;
    color: var(--brand-primary, #6c2eb6);
    text-decoration: none;
    transition: all 0.3s;
}

.gws-form-link:hover {
    text-decoration: underline;
}

/* Form Button */
.gws-form-btn {
    padding: 12px 15px;
    background-color: var(--brand-primary, #6c2eb6);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.gws-form-btn:hover {
    background-color: var(--brand-primary, #6c2eb6);
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Form Footer */
.gws-form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* Form Messages */
.msg {
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.msg.success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.msg.error {
    background-color: #f8d7da;
    color: #842029;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .gws-auth-card {
        border-radius: 0;
        box-shadow: none;
    }
    
    .gws-auth-tab-content {
        padding: 20px 15px;
    }
}