/* Login Page Specific Styles */
.login-page {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #f5f5f5;
}

.login-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Left Section - Branding */
.login-left {
    flex: 2;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.login-left-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 500px;
}

.logo-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.main-logo {
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, background 0.3s;
}

.feature-icon:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.icon-img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
}

.feature-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Right Section - Login Form */
.login-right {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    position: relative;
}

.login-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="60" height="60" fill="url(%23dots)"/></svg>');
    opacity: 0.4;
}

.login-form-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.form-logo-img {
    max-width: 100px;
    height: auto;
}

.welcome-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.welcome-subtitle {
    font-size: 0.95rem;
    color: #7f8c8d;
    margin-bottom: 0;
}

.login-error-message,
.login-form-container .error-message {
    background-color: #fee;
    color: #c33;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #e74c3c;
    font-size: 0.9rem;
    text-align: center;
}

.login-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: #7f8c8d;
    z-index: 1;
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s;
    background: #f8f9fa;
    letter-spacing: 0.3rem;
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-input::placeholder {
    letter-spacing: 0.1rem;
    color: #bdc3c7;
    font-weight: 400;
}

.btn-login {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-login:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 968px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-left {
        flex: 1;
        min-height: 40vh;
        padding: 2rem;
    }

    .login-right {
        flex: 1;
        min-height: 60vh;
    }

    .brand-title {
        font-size: 2rem;
    }

    .features-grid {
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .login-left {
        padding: 1.5rem;
    }

    .login-right {
        padding: 1.5rem;
    }

    .login-form-container {
        padding: 2rem 1.5rem;
    }

    .brand-title {
        font-size: 1.75rem;
    }

    .features-grid {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .icon-img {
        width: 30px;
        height: 30px;
    }
}

