/***
Modern Login Page - SGA-MNti.NEWACO
Simple design with separate elements
***/

.login-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: transparent;
}

.login-wrapper {
    display: flex;
    gap: 60px;
    max-width: 950px;
    width: 100%;
    align-items: flex-start;
    justify-content: center;
}

.login-form-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px 35px;
    width: 100%;
    max-width: 380px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.login-logo {
    text-align: center;
    margin-bottom: 24px;
}

.login-logo img {
    max-width: 100px;
    height: auto;
}

.login-title {
    text-align: center;
    margin-bottom: 8px;
}

.login-title h2 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.login-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 30px;
}

.form-group-modern {
    margin-bottom: 20px;
}

.form-group-modern label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px;
    padding-right: 45px;
    font-size: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #1e293b;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-wrapper input::placeholder {
    color: #9ca3af;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: #3b82f6;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: #3b82f6;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.btn-login:hover {
    background: #2563eb;
}

.btn-login:active {
    transform: scale(0.99);
}

.login-help {
    text-align: center;
    margin-top: 20px;
}

.login-help a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.login-help a:hover {
    text-decoration: underline;
    color: #93c5fd;
}

.login-alerts {
    margin-bottom: 16px;
}

.login-alerts .alert {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 10px;
}

.login-alerts .alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.login-info-panel {
    max-width: 340px;
    padding-top: 180px;
}

.info-panel-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.info-panel-subtitle {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.5;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 18px;
    color: #fff;
}

.feature-icon.green {
    background: #22c55e;
}

.feature-icon.purple {
    background: #a855f7;
}

.feature-icon.blue {
    background: #3b82f6;
}

.feature-text h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 3px 0;
}

.feature-text p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.3;
}

.login-copyright {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #64748b;
    font-size: 12px;
}

@media (max-width: 850px) {
    .login-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .login-info-panel {
        order: -1;
        text-align: center;
        max-width: 380px;
    }
    
    .feature-card {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .login-modern {
        padding: 20px 15px;
    }
    
    .login-form-card {
        padding: 30px 25px;
    }
    
    .info-panel-title {
        font-size: 24px;
    }
    
    .login-icon {
        width: 56px;
        height: 56px;
    }
    
    .login-icon i {
        font-size: 24px;
    }
    
    .login-title h2 {
        font-size: 20px;
    }
}
