/* Login styles for ACM Web Academia Portal */
:root {
    --acm-dark: #1a1d28;
    --acm-darker: #0f111a;
    --acm-primary: #3498db;
    --acm-secondary: #2ecc71;
    --acm-accent: #9b59b6;
    --acm-light: #ecf0f1;
    --acm-border: #2d3748;
}

body {
    background: linear-gradient(135deg, var(--acm-darker) 0%, var(--acm-dark) 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--acm-light);
    position: relative;
}

.login-container {
    min-height: 100vh;
    position: relative;
}

.login-sidebar {
    background: rgba(15, 17, 26, 0.95);
    border-right: 1px solid var(--acm-border);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.login-content {
    background: var(--acm-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.brand-section {
    padding: 3rem 2rem;
}

.brand-logo {
    font-size: 3.5rem;
    color: var(--acm-primary);
    margin-bottom: 1.5rem;
}

.brand-title {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--acm-primary), var(--acm-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.brand-subtitle {
    color: #a0aec0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.features-list {
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(52, 152, 219, 0.1);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(52, 152, 219, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--acm-primary);
    font-size: 1.2rem;
}

.feature-text {
    flex: 1;
}

.feature-title {
    font-weight: 600;
    color: var(--acm-light);
    margin-bottom: 0.2rem;
}

.feature-desc {
    color: #a0aec0;
    font-size: 0.9rem;
}

.login-card {
    background: rgba(26, 29, 40, 0.9);
    border: 1px solid var(--acm-border);
    border-radius: 15px;
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

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

.login-icon {
    font-size: 2.5rem;
    color: var(--acm-primary);
    margin-bottom: 1rem;
}

.login-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--acm-light);
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #a0aec0;
    font-size: 1rem;
}

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

.form-label {
    color: var(--acm-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    background: rgba(45, 55, 72, 0.5);
    border: 1px solid var(--acm-border);
    border-radius: 8px;
    color: var(--acm-light);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(45, 55, 72, 0.8);
    border-color: var(--acm-primary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    color: var(--acm-light);
    outline: none;
}

.form-control::placeholder {
    color: #718096;
}

.btn-login {
    background: linear-gradient(90deg, var(--acm-primary), var(--acm-accent));
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    color: white;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--acm-border);
    color: #a0aec0;
    font-size: 0.9rem;
}

.footer-link {
    color: var(--acm-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--acm-secondary);
    text-decoration: underline;
}

.error-message {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #e74c3c;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .login-sidebar {
        display: none;
    }

    .login-content {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .login-card {
        padding: 1.5rem;
    }

    .brand-title {
        font-size: 1.8rem;
    }
}

