/* Estilos para el formulario de login */
.zona-socios-login-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 30px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.zona-socios-login-form h2 {
    margin-bottom: 20px;
    text-align: center;
}

.zona-socios-login-form .form-group {
    margin-bottom: 15px;
}

.zona-socios-login-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.zona-socios-login-form input[type="text"],
.zona-socios-login-form input[type="password"],
.zona-socios-login-form input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
}

.zona-socios-login-form .button {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.zona-socios-login-form .button:hover {
    background: #005177;
}

.zona-socios-login-form .login-links {
    text-align: center;
    margin-top: 15px;
}

.zona-socios-login-form .login-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 3px;
}

.zona-socios-login-form .login-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.zona-socios-login-form .login-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Estilos para el mensaje de bienvenida */
.zona-socios-welcome {
    text-align: center;
    padding: 30px;
    background: #f0f8ff;
    border: 1px solid #b3d9ff;
    border-radius: 5px;
}

.zona-socios-welcome h3 {
    margin-bottom: 15px;
    color: #0073aa;
}

.zona-socios-welcome .button {
    margin: 5px;
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    display: inline-block;
    transition: background 0.3s;
}

.zona-socios-welcome .button:hover {
    background: #005177;
}

/* Estilos para el perfil de usuario */
.zona-socios-profile {
    max-width: 800px;
    margin: 0 auto;
}

.zona-socios-profile h2 {
    margin-bottom: 20px;
}

.profile-tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 30px;
}

.tab-button {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-button:hover {
    background: #f0f0f0;
}

.tab-button.active {
    border-bottom-color: #0073aa;
    color: #0073aa;
    font-weight: bold;
}

.tab-content {
    padding: 20px 0;
}

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

.tab-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.tab-content input[type="text"],
.tab-content input[type="email"],
.tab-content input[type="tel"],
.tab-content input[type="password"] {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.tab-content .button {
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s;
}

.tab-content .button:hover {
    background: #005177;
}

.profile-message,
.password-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 3px;
}

.profile-message.success,
.password-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.profile-message.error,
.password-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

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

.shop_table th {
    background: #f0f0f0;
    padding: 10px;
    text-align: left;
    border-bottom: 2px solid #ddd;
}

.shop_table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.shop_table .button {
    padding: 5px 10px;
    margin: 2px;
    font-size: 14px;
}

/* Categorías exclusivas */
.exclusive-category {
    margin-bottom: 20px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.exclusive-category h4 {
    margin-bottom: 10px;
}

/* Productos exclusivos */
.exclusive-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-item {
    text-align: center;
    padding: 15px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-item img {
    max-width: 100%;
    height: auto;
}

.product-item h5 {
    margin: 10px 0;
    font-size: 16px;
}

.product-item .price {
    color: #0073aa;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-tabs {
        flex-wrap: wrap;
    }
    
    .tab-button {
        flex: 1 0 50%;
    }
    
    .exclusive-products {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .zona-socios-login-form {
        padding: 20px;
    }
    
    .exclusive-products {
        grid-template-columns: 1fr;
    }
}