 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

 /* --- Estilos Generales del Body --- */
   
        /* --- Contenedor Principal (La Tarjeta) --- */
        .login-container {
            max-width: 420px;
            width: 100%;
            background-color: #fff;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            text-align: center;
            color: #333;
        }

        /* --- Encabezado --- */
        .signup-header h1 {
            font-size: 2.2em;
            margin-bottom: 10px;
            color: #000;
            font-weight: 700;
        }

        .signup-header p {
            font-size: 1em;
            color: #666;
            margin-bottom: 30px;
        }

        .signup-container {
            max-width: 450px;
            width: 100%;
            background-color: #fff;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Sombra más pronunciada */
            text-align: center;
            color: #333;
        }

        .accept-terms {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.accept-terms input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #000; /* Color del checkbox al seleccionarlo */
}

.accept-terms label {
    font-size: 0.9em;
    color: #666;
}
        
        /* --- Encabezado --- */
        .login-header h1 {
            font-size: 2.2em;
            margin-bottom: 10px;
            color: #000;
            font-weight: 700;
        }

        .login-header p {
            font-size: 1em;
            color: #666;
            margin-bottom: 30px;
        }

        /* --- Estilos del Formulario --- */
        .form-group {
            margin-bottom: 20px;
            text-align: left;
        }

        .form-group input[type="email"],
        .form-group input[type="password"] {
            width: 100%;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 1em;
            box-sizing: border-box;
            background-color: #f9f9f9;
        }

        .form-options {
            text-align: right;
            margin-bottom: 25px;
        }

        .forgot-password {
            font-size: 0.9em;
            color: #000;
            text-decoration: none;
            font-weight: 600;
        }
        
        .forgot-password:hover {
            text-decoration: underline;
        }

        /* --- Estilos de Botones --- */
        .btn {
            width: 100%;
            padding: 15px;
            border: none;
            border-radius: 8px;
            font-size: 1.1em;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .primary-btn {
            background-color: #000;
            color: #fff;
        }

        .primary-btn:hover {
            background-color: #333;
        }

        /* --- Separador "or" --- */
        .separator {
            margin: 25px 0;
            position: relative;
            color: #888;
        }

        .separator::before,
        .separator::after {
            content: '';
            position: absolute;
            top: 50%;
            width: 40%;
            height: 1px;
            background-color: #eee;
        }

        .separator::before { left: 0; }
        .separator::after { right: 0; }
        .separator span { background-color: #fff; padding: 0 10px; }

        /* --- Botones Sociales --- */
        .social-btn {
            background-color: #fff;
            color: #555;
            border: 1px solid #ddd;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .social-btn i { margin-right: 10px; font-size: 1.2em; }
        .social-btn:hover { background-color: #f7f7f7; }

        /* --- Enlace de Registro --- */
        .register-link {
            margin-top: 20px;
            font-size: 1em;
            color: #666;
        }

        .register-link a {
            color: #000;
            font-weight: 600;
            text-decoration: none;
        }

        .register-link a:hover {
            text-decoration: underline;
        }


        /* --- ESTILOS DEL CONTENEDOR PRINCIPAL --- */
        .client-area-container {
            font-family: 'Poppins', sans-serif;
            max-width: 900px;
            margin: 40px auto; /* Centra el contenedor */
            padding: 30px;
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            color: #333;
        }

        /* --- ESTILOS DE LAS PESTAÑAS DE NAVEGACIÓN --- */
        .tabs {
            display: flex;
            border-bottom: 2px solid #e0e0e0;
            margin-bottom: 25px;
        }

        .tab-link {
            padding: 12px 20px;
            cursor: pointer;
            background-color: transparent;
            border: none;
            outline: none;
            font-size: 16px;
            font-weight: 500;
            color: #666;
            position: relative;
            transition: color 0.3s ease;
        }

        .tab-link:hover {
            color: #000;
        }

        /* La clase 'active' se añade con JavaScript a la pestaña seleccionada */
        .tab-link.active {
            color: #000;
            font-weight: 600;
        }

        /* Línea decorativa debajo de la pestaña activa */
        .tab-link.active::after {
            content: '';
            position: absolute;
            bottom: -2px; /* Alinea con el borde del contenedor de pestañas */
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #000;
        }
        
        /* --- ESTILOS DEL CONTENIDO DE LAS PESTAÑAS --- */
        .tab-content {
            display: none; /* Oculta todo el contenido por defecto */
        }
        
        /* La clase 'active' hace visible el contenido de la pestaña seleccionada */
        .tab-content.active {
            display: block;
            animation: fadeIn 0.5s ease-in-out;
        }

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

        /* --- ESTILOS PARA FORMULARIOS Y TABLAS (Reutilizables) --- */
        .tab-content h2 {
            font-size: 24px;
            margin-bottom: 20px;
            color: #000;
        }

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

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            font-size: 14px;
        }

        .form-group input {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
            box-sizing: border-box;
        }
        
        .btn-primary {
            background-color: #000;
            color: #fff;
            padding: 12px 25px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .btn-primary:hover {
            background-color: #333;
        }

        /* Estilos para la tabla de pedidos */
        .orders-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
        }

        .orders-table th, .orders-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #eee;
        }

        .orders-table th {
            font-weight: 600;
            font-size: 14px;
            background-color: #f9f9f9;
        }
        
        .status {
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }
        
        .status.delivered { background-color: #d4edda; color: #155724; }
        .status.shipped { background-color: #cce5ff; color: #004085; }
        .status.processing { background-color: #fff3cd; color: #856404; }