.cms-login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f6f8;
}

.cms-login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.cms-login-title {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1f2937;
}

/* Inputs */
.cms-login-card .king-form-group {
    margin-bottom: 18px;
}

.cms-login-card input[type="text"],
.cms-login-card input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    transition: all 0.2s ease;
}

.cms-login-card input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
}

/* Remember me */
.cms-login-card .rememberme-label {
    font-size: 14px;
    color: #4b5563;
}

/* Button */
.cms-login-card .king-submit-button {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cms-login-card .king-submit-button:hover {
    background: #1d4ed8;
}

/* Links */
.login-rl {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    font-size: 14px;
}

.login-rl a {
    color: #2563eb;
    text-decoration: none;
}

.login-rl a:hover {
    text-decoration: underline;
}

/* Error */
.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 14px;
}

/* ===== Auth Links Line ===== */
.cms-auth-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    font-size: 14px;
    color: #6b7280;
}

.cms-auth-links a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.cms-auth-links a:hover {
    text-decoration: underline;
}

/* Divider line */
.cms-auth-links .divider {
    width: 1px;
    height: 14px;
    background: #d1d5db;
}