﻿body {
    background: linear-gradient(135deg, #090e17 0%, #111827 50%, #030712 100%);
    min-height: 100vh;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.sqc-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px !important;
    box-sizing: border-box;
}

.sqc-login-card {
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 28px !important;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.05) inset;
    animation: sqcSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
    box-sizing: border-box;
}

@keyframes sqcSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.sqc-login-head h1 {
    margin: 0;
    color: #f8fafc;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.sqc-login-head p {
    margin: 8px 0 0;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.5;
}

.sqc-login__notice {
    margin: 0 0 16px 0;
    padding: 12px 16px !important;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.15); 
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #bfdbfe;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    animation: sqcFadeIn 0.3s ease;
}

@keyframes sqcFadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.sqc-login-card form {
    margin-top: 0;
}

.sqc-login-card form p {
    margin: 0 0 16px;
}

.sqc-login-card label {
    display: block;
    margin-bottom: 8px;
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 600;
}

.sqc-login-card input[type="text"],
.sqc-login-card input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.8);
    color: #f8fafc;
    font-size: 1rem;
    padding: 12px 14px !important;
    outline: none;
    transition: all 0.2s ease;
}
.sqc-login-card .login-password input[type="password"],
.sqc-login-card .login-password input[type="text"] {
    padding-right: 48px;
}

.sqc-login-card input[type="text"]:focus,
.sqc-login-card input[type="password"]:focus {
    border-color: #3b82f6;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

/* Password Toggle Button */
.sqc-pwd-toggle {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: none;
    border: none;
    padding: 6px !important;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    outline: none;
}
.sqc-pwd-toggle:hover, .sqc-pwd-toggle:focus {
    color: #cbd5e1;
    background: rgba(255,255,255,0.05);
}
.sqc-pwd-toggle.is-visible {
    color: #3b82f6;
}
.sqc-pwd-toggle svg {
    width: 18px;
    height: 18px;
}

/* Remember Me Checkbox */
.sqc-login-card .login-remember {
    margin: 16px 0 24px;
}
.sqc-login-card .login-remember label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    font-size: 0.85rem;
    font-weight: 500;
    color: #94a3b8;
    cursor: pointer;
}
.sqc-login-card .login-remember input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 5px;
    background: rgba(15, 23, 42, 0.6);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}
.sqc-login-card .login-remember input[type="checkbox"]:checked {
    background: #3b82f6;
    border-color: #3b82f6;
}
.sqc-login-card .login-remember input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Submit Button */
.sqc-login-card .login-submit {
    margin-top: 8px;
    margin-bottom: 0;
}

.sqc-login-card .button {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px !important;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.sqc-login-card .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.sqc-login-card .button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Responsive constraints */
@media (max-width: 480px) {
    .sqc-login-card {
        padding: 28px 20px !important;
    }
    .sqc-login-head h1 {
        font-size: 1.45rem;
    }
}

