/* =============================================================
   Scan2Pay — Auth Layout Styles
   Extracted from _LayoutAuth.cshtml to satisfy CSP style-src policy.
   ============================================================= */

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.5s ease-out;
}

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

.auth-header {
    background: linear-gradient(135deg, #1a2a3a 0%, #2c5364 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.auth-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 8px;
}

.auth-body {
    padding: 40px 30px;
}

.form-label {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #2c5364;
    box-shadow: 0 0 0 3px rgba(44, 83, 100, 0.1);
}

.form-check-input:checked {
    background-color: #2c5364;
    border-color: #2c5364;
}

.btn-primary {
    background: linear-gradient(135deg, #1a2a3a 0%, #2c5364 100%);
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 83, 100, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 83, 100, 0.6);
}

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

.auth-footer {
    text-align: center;
    padding: 20px 30px 30px;
    border-top: 1px solid #e2e8f0;
}

.auth-footer a {
    color: #2c5364;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: #1a2a3a;
}

.text-danger {
    font-size: 13px;
    margin-top: 5px;
}

.alert {
    border-radius: 10px;
    border: none;
}

.alert-danger {
    background-color: #fee;
    color: #c53030;
}

.form-check-label {
    font-size: 14px;
    color: #4a5568;
}

/* Floating particles background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite;
}

.particle:nth-child(1) { width: 80px; height: 80px; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { width: 60px; height: 60px; left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { width: 100px; height: 100px; left: 60%; animation-delay: 4s; }
.particle:nth-child(4) { width: 70px; height: 70px; left: 80%; animation-delay: 6s; }
.particle:nth-child(5) { width: 90px; height: 90px; left: 40%; animation-delay: 8s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-100vh) rotate(360deg); opacity: 0.6; }
}

/* Responsive */
@media (max-width: 576px) {
    .auth-container {
        padding: 10px;
    }
    .auth-body {
        padding: 30px 20px;
    }
    .auth-header {
        padding: 30px 20px;
    }
}
