.login-container {
    min-height: calc(100vh - var(--header-height) - 300px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-card {
    background: #fff;
    border-radius: 0;
    box-shadow: var(--shadow-strong, 0 15px 45px rgba(31, 34, 92, 0.15));
    width: 100%;
    max-width: 420px;
    padding: 50px 45px;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary, #1F225C), var(--secondary, #D8461F));
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h1 {
    color: var(--primary, #1F225C);
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.login-header p {
    color: #666;
    font-size: 15px;
    margin: 0;
}

.login-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0;
    padding: 14px 18px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #dc2626;
    font-size: 14px;
    font-weight: 500;
}

.login-error::before {
    content: '!';
    width: 20px;
    height: 20px;
    background: #dc2626;
    color: white;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    color: var(--primary, #1F225C);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 18px 16px 48px;
    border: 2px solid #e5e7eb;
    border-radius: 0;
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
    background: #fafafa;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary, #1F225C);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(31, 34, 92, 0.08);
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 18px;
    pointer-events: none;
    transition: color 0.25s ease;
}

.input-wrapper input:focus + .input-icon,
.input-wrapper input:not(:placeholder-shown) + .input-icon {
    color: var(--primary, #1F225C);
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 0;
    cursor: pointer;
    accent-color: var(--primary, #1F225C);
}

.remember-me span {
    font-size: 14px;
    color: #4b5563;
    font-weight: 500;
}

.forgot-password {
    font-size: 14px;
    color: var(--secondary, #D8461F);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: var(--secondary-hover, #b53a1a);
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 17px 28px;
    background: linear-gradient(135deg, var(--primary, #1F225C), #2a2d75);
    color: white;
    border: none;
    border-radius: 0;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(31, 34, 92, 0.3);
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31, 34, 92, 0.4);
    background: linear-gradient(135deg, #161842, var(--primary, #1F225C));
}

.login-button:active {
    transform: translateY(0);
}

.signup-prompt {
    text-align: center;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #e5e7eb;
}

.signup-prompt p {
    color: #6b7280;
    font-size: 14px;
    margin: 0 0 5px 0;
}

.signup-prompt a {
    color: var(--primary, #1F225C);
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.signup-prompt a:hover {
    color: var(--secondary, #D8461F);
}
