/* GCUC Login Page - Simple styles, no gradients */
:root {
    --primary-color: #017F7B;
    --primary-dark: #015a56;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --gray-light: #81d6d3;
    --gray-medium: #e9ecef;
    --shadow-dark: rgba(0, 0, 0, 0.1);
}

body {
    background: var(--gray-light);
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

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

.login-card {
    position: relative;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-dark);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--gray-medium);
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.logo-section img {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
}

.system-title {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.page-title {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    border: 1px solid #333;
    border-radius: 4px;
    padding: 12px 14px;
    font-size: 15px;
    background: var(--white);
    color: var(--text-dark);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 2px rgba(1, 127, 123, 0.2);
}

.form-control.top {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
}

.form-control.bottom {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.form-control::placeholder {
    color: var(--text-light);
}

/* Button Styles */
.btn {
    border-radius: 4px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    transition: border-color 0.2s, background-color 0.2s;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

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

.btn-danger {
    background: #dc3545;
    color: var(--white);
}

.btn-danger:hover {
    background: #c82333;
    color: var(--white);
}

.btn-block {
    width: 100%;
}

/* Checkbox */
.checkbox {
    margin: 16px 0;
}

.checkbox label {
    color: var(--text-light);
    font-size: 14px;
    cursor: pointer;
}

.checkbox input[type="checkbox"] {
    margin-right: 8px;
}

/* Alerts */
.alert {
    border-radius: 4px;
    padding: 12px 14px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid transparent;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Label (for reset message) */
.label {
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    display: inline-block;
}

.label-danger {
    background: #dc3545;
    color: var(--white);
}

/* Responsive */
@media (max-width: 576px) {
    .login-card {
        padding: 30px 24px;
        margin: 15px;
    }

    .system-title {
        font-size: 20px;
    }

    .logo-section img {
        width: 64px;
        height: 64px;
    }
}

/* Print */
@media print {
    .login-container {
        background: white;
    }

    .login-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Loading state */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
