/* Admin Authentication CSS */

:root {
    --primary: #14b8a6;
    --primary-dark: #0d9488;
    --primary-light: #e6f7f6;
    --secondary: #0d9488;
    --accent: #10b981;
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.2);
    --border-color: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

body, html {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.5;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, #f8fafc 0%, #e6f7f7 100%);
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(48, 200, 200, 0.15);
    opacity: 0.15;
    z-index: 0;
}

body::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(48, 200, 200, 0.15);
    opacity: 0.1;
    z-index: 0;
}

.client-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.glassmorphism-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    min-height: 700px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-panel {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    background: var(--bg-white);
}

.features-panel {
    flex: 0 0 60%;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.95) 0%, rgba(13, 148, 136, 0.95) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.features-panel::before {
    content: '';
    position: absolute;
    top: -5%;
    right: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.features-panel::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.features-panel > * {
    position: relative;
    z-index: 1;
}

.company-logo {
    margin-bottom: 2rem;
    text-align: center;
}

.company-logo img {
    height: 50px;
    max-width: 180px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--text-medium);
}

.login-form-wrapper {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.password-label-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.forgot-link {
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.input-wrapper input, 
.input-wrapper select {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: var(--text-dark);
}

.remember-me {
    margin-top: 1rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
}

.checkbox-wrapper input[type="checkbox"] {
    margin-right: 0.5rem;
}

.checkbox-wrapper label {
    margin-bottom: 0;
    font-size: 0.875rem;
    font-weight: 400;
}

.btn-login {
    display: block;
    width: 100%;
    padding: 0.875rem;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 1rem;
    text-align: center;
}

.btn-login:hover {
    background-color: var(--primary-dark);
}

.btn-register {
    display: block;
    width: 100%;
    padding: 0.875rem;
    background-color: transparent;
    color: var(--text-dark);
    font-weight: 600;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    text-align: center;
    margin-top: 1rem;
}

.btn-register:hover {
    background-color: var(--bg-light);
    border-color: var(--text-medium);
}

.features-header {
    margin-bottom: 2.5rem;
}

.features-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.icon-box i {
    font-size: 1.25rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.5rem;
}

.service-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.25rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin-right: 1rem;
}

.service-icon i {
    font-size: 1.25rem;
}

.service-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.service-content p {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.9;
}

.recaptcha-container {
    margin-bottom: 1.5rem;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background-color: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.2);
    color: #e11d48;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    font-size: 12px;
    border-top: 1px solid #ddd;
    z-index: 100;
    text-align: center;
}

.footer-separator {
    margin: 0 5px;
    color: #999;
}

.legal-footer-link {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-footer-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 992px) {
    .glassmorphism-container {
        flex-direction: column;
        max-height: none;
    }
    
    .login-panel, 
    .features-panel {
        flex: 1;
        width: 100%;
    }
    
    .features-panel {
        padding-bottom: 5rem;
    }
    }
    
@media (max-width: 768px) {
    .stats-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .login-panel {
        padding: 1.5rem;
    }
    
    .features-panel {
        padding: 1.5rem;
    }
} 