/* ART3TRON CRM | Login Specific Styles */

.login-body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    position: relative;
}

/* Background floating particles decoration */
.login-body::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuit" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(255,107,53,0.06)"/><circle cx="30" cy="30" r="1" fill="rgba(78,205,196,0.06)"/><path d="M10,10 L30,30" stroke="rgba(69,183,209,0.04)" stroke-width="0.5" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23circuit)"/></svg>');
    z-index: 1;
}

.login-box {
    position: relative;
    z-index: 10;
    background: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.1);
    color: white;
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.login-logo-box {
    display: inline-flex;
    width: 65px;
    height: 65px;
    border-radius: 18px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.25);
    align-items: center;
    justify-content: center;
    color: #ff6b35;
    font-size: 2rem;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.15);
}

.login-title {
    margin-bottom: 8px;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ff6b35, #ffd23f, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 30px;
    font-weight: 500;
}

.login-error {
    display: none;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
}

.login-error i {
    margin-right: 6px;
}

.form-group-login {
    margin-bottom: 20px;
    text-align: left;
}

.form-group-login label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-container {
    position: relative;
}

.input-container i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1.1rem;
    transition: 0.3s;
}

.form-group-login input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.6);
    color: white;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-group-login input::placeholder {
    color: #475569;
}

.form-group-login input:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
    background: rgba(15, 23, 42, 0.8);
}

.form-group-login input:focus + i {
    color: #ff6b35;
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #ff6b35, #ffd23f);
    border: none;
    border-radius: 12px;
    color: #0f172a;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-top: 15px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.35);
}

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

.login-footer-text {
    margin-top: 25px;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
