/**
 * Auth Pages CSS - EasyRefert
 * Styles for login, register, and password reset pages
 */

/* Auth Container Layout */
body.auth-page {
    background: linear-gradient(135deg, #1d4f5e 0%, #153d4a 50%, #242424 100%);
    min-height: 100vh;
}

body.auth-page .app-container {
    display: block;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

body.auth-page .app-container .main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding:0px !Important;
}

.auth-container {
    width: 100%;
    padding: 2rem 1rem;
}

/* Auth Card */
.auth-card {
    background: var(--light-color);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 480px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease-out;
}

/* Auth Header */
.auth-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--light-color);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.auth-header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-color);
    position: relative;
    z-index: 1;
}

.auth-header h1 i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
    animation: slideInRight 0.5s ease-out;
}

.auth-header p {
    margin: 0.5rem 0 0 0;
    font-size: 0.9375rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Auth Body */
.auth-body {
    padding: 2.5rem;
}

.auth-body h2 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1.75rem;
}

/* Form Controls */
.auth-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(29, 79, 94, 0.15);
}

/* Buttons */
.auth-card .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    padding: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.auth-card .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f2d36 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 79, 94, 0.3);
}

.auth-card .btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-card .btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-color);
}

/* Security Footer */
.security-footer {
    text-align: center;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8125rem;
}

.security-footer i {
    margin: 0 0.25rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Responsive */
@media (max-width: 576px) {
    .auth-card {
        margin: 1rem;
    }

    .auth-header {
        padding: 2rem 1.5rem;
    }

    .auth-header h1 {
        font-size: 1.75rem;
    }

    .auth-header h1 i {
        font-size: 2rem;
    }

    .auth-body {
        padding: 2rem 1.5rem;
    }
}
