/* Login Section */
.login-section {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a0b2e 0%, #0d0420 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 20px 80px;
}

.login-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.2) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.login-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.login-container {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
}

.login-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

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

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.logo-icon-login {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-radius: 10px;
    position: relative;
}

.logo-icon-login::before {
    content: '₿';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.login-logo h2 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.login-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.login-header p {
    color: #b8b8b8;
    font-size: 1rem;
}

/* Form Styles */
.login-form {
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 18px;
    font-size: 1.2rem;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 18px 16px 55px;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: rgba(138, 43, 226, 0.8);
    background: rgba(26, 26, 46, 0.8);
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.1);
}

.input-wrapper input::placeholder {
    color: #666;
}

.toggle-password {
    position: absolute;
    right: 18px;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #a78bfa;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(138, 43, 226, 0.5);
    border-radius: 5px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.checkbox-container input:checked ~ .checkmark {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-color: #8b5cf6;
}

.checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: #fff;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.checkbox-container input:checked ~ .checkmark::after {
    transform: translate(-50%, -50%) scale(1);
}

.checkbox-label {
    color: #b8b8b8;
    font-size: 0.9rem;
}

.forgot-password {
    color: #a78bfa;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #8b5cf6;
}

/* Submit Button */
.btn-login-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.5);
}

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

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: #666;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(138, 43, 226, 0.2);
}

.divider span {
    padding: 0 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Social Login */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-btn {
    width: 100%;
    padding: 14px 20px;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(26, 26, 46, 0.8);
    border-color: rgba(138, 43, 226, 0.6);
    transform: translateY(-2px);
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

/* Login Footer */
.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(138, 43, 226, 0.2);
}

.login-footer p {
    color: #b8b8b8;
    font-size: 0.95rem;
}

.signup-link {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.signup-link:hover {
    color: #8b5cf6;
    text-decoration: underline;
}

/* Security Badge */
.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    padding: 15px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 10px;
    color: #b8b8b8;
    font-size: 0.85rem;
}

.badge-icon {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-section {
        padding: 80px 20px 60px;
    }

    .login-card {
        padding: 40px 30px;
    }

    .login-header h1 {
        font-size: 1.8rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
    }

    .login-header h1 {
        font-size: 1.5rem;
    }

    .login-logo h2 {
        font-size: 1.5rem;
    }

    .btn-login-submit {
        font-size: 1rem;
        padding: 16px;
    }
}