/* ============================================
   Premium Login Styles - Additional Components
   ============================================ */


/* Welcome Badge */
.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: welcomeSlide 0.6s ease-out;
}

@keyframes welcomeSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.welcome-badge i {
    font-size: 1.1rem;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-20deg); }
}

.login-info h2 {
    font-size: 1.625rem;
    margin-bottom: 0.625rem;
}

.login-info > p {
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.quick-action-btn {
    flex: 1;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.quick-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.quick-action-btn i {
    font-size: 1.1rem;
}

/* Scan Modal */
.scan-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

.scan-modal.active {
    display: flex;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.scan-modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.scan-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: var(--text-dark);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.scan-animation {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--green);
    border-radius: 50%;
    animation: scanRing 2s ease-in-out infinite;
}

@keyframes scanRing {
    0%, 100% { transform: scale(0.8); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

.scan-icon {
    font-size: 4rem;
    color: var(--green);
    animation: scanPulse 1.5s ease-in-out infinite;
}

@keyframes scanPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.scan-complete {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: completePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scan-complete i {
    font-size: 5rem;
    color: var(--green);
    filter: drop-shadow(0 4px 12px rgba(0, 204, 133, 0.4));
}

@keyframes completePop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.scan-progress {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    margin-top: 1.5rem;
    overflow: hidden;
}

.scan-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--green));
    border-radius: 2px;
    width: 0%;
    transition: width 0.15s ease;
}

.scan-modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.scan-modal-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .quick-actions {
        flex-direction: column;
    }
    
    .scan-modal-content {
        padding: 2rem 1.5rem;
    }
}

