﻿/* Estilos globales base para toda la aplicación */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8fafc; /* Fondo neutro por defecto */
    overflow-x: hidden;
}

#app {
    min-height: 100vh;
    width: 100%;
}

/* Loader global */
.pawnshop-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: #f8fafc;
}

.lock {
    position: relative;
    width: 60px;
    height: 80px;
    margin-bottom: 16px;
    animation: bounce 1.2s infinite;
}

.lock-body {
    width: 60px;
    height: 50px;
    background: #FFD700;
    border-radius: 12px 12px 16px 16px;
    position: absolute;
    bottom: 0;
    left: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.lock-shackle {
    width: 40px;
    height: 40px;
    border: 6px solid #FFD700;
    border-bottom: none;
    border-radius: 24px 24px 0 0;
    position: absolute;
    top: -28px;
    left: 10px;
    background: transparent;
}

.loader-text {
    color: #333;
    font-size: 1.1rem;
    font-family: sans-serif;
    margin-top: 8px;
    letter-spacing: 1px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Utilidades generales */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Resetear estilos cuando se cambie de página */
.page-transition-enter {
    opacity: 0;
    transform: translateY(20px);
}

.page-transition-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}
