/**
 * My Account Page Styles - Un Detalle Theme
 * Diseño personalizado con menú lateral y contenido principal
 * 
 * @package UnDetalle
 * @since 1.0.0
 */

/* =============================================================================
   COLORS (Style Guide)
   ============================================================================= */
:root {
	--undetalle-primary: #EC5970;
	--undetalle-primary-hover: #e94562;
	--undetalle-primary-dark: #d63851;
	--undetalle-text: #242424;
	--undetalle-text-light: #666;
	--undetalle-text-muted: #999;
	--undetalle-border: #e0e0e0;
	--undetalle-bg-light: #f9f9f9;
	--undetalle-white: #ffffff;
}

/* =============================================================================
   LAYOUT PRINCIPAL
   ============================================================================= */
.undetalle-my-account-wrapper {
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px 20px;
}

/* =============================================================================
   HEADER DE MI CUENTA
   ============================================================================= */
.my-account-header {
	background: linear-gradient(135deg, #EC5970 0%, #e94562 100%);
	border-radius: 20px;
	padding: 40px;
	margin-bottom: 40px;
	box-shadow: 0 15px 50px rgba(236, 89, 112, 0.2);
	color: white;
}

.account-user-info {
	display: flex;
	align-items: center;
	gap: 25px;
}

.account-avatar {
	flex-shrink: 0;
}

.account-avatar img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 4px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.account-user-details {
	flex: 1;
}

.account-welcome {
	font-size: 2rem;
	font-weight: 700;
	margin: 0 0 8px 0;
	color: white;
	line-height: 1.2;
}

.account-welcome strong {
	font-weight: 700;
}

.account-email {
	font-size: 1.1rem;
	margin: 0;
	opacity: 0.95;
	color: white;
}

/* =============================================================================
   CONTENEDOR PRINCIPAL: MENÚ + CONTENIDO
   ============================================================================= */
.my-account-content-wrapper {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 40px;
	align-items: start;
}

/* =============================================================================
   MENÚ LATERAL
   ============================================================================= */
.my-account-navigation {
	position: sticky;
	top: 100px;
	background: white;
	border-radius: 16px;
	padding: 20px 0;
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
	border: 2px solid var(--undetalle-border);
	overflow: hidden;
}

.account-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.account-menu-item {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--undetalle-bg-light);
}

.account-menu-item:last-child {
	border-bottom: none;
}

.account-menu-link {
	display: block;
	padding: 16px 25px;
	color: var(--undetalle-text);
	text-decoration: none;
	font-size: 1rem;
	font-weight: 500;
	transition: all 0.3s ease;
	position: relative;
}

.account-menu-link::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--undetalle-primary);
	transform: scaleY(0);
	transition: transform 0.3s ease;
}

.account-menu-link:hover {
	background: rgba(236, 89, 112, 0.05);
	color: var(--undetalle-primary);
	padding-left: 30px;
}

.account-menu-link:hover::before {
	transform: scaleY(1);
}

.account-menu-item.is-active .account-menu-link {
	background: linear-gradient(90deg, rgba(236, 89, 112, 0.1) 0%, transparent 100%);
	color: var(--undetalle-primary);
	font-weight: 600;
	padding-left: 30px;
}

.account-menu-item.is-active .account-menu-link::before {
	transform: scaleY(1);
}

/* =============================================================================
   CONTENIDO PRINCIPAL
   ============================================================================= */
.my-account-content {
	background: white;
	border-radius: 16px;
	padding: 40px;
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
	border: 2px solid var(--undetalle-border);
	min-height: 400px;
}

.my-account-content h2,
.my-account-content h3 {
	color: var(--undetalle-text);
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 25px;
}

.my-account-content h2 {
	font-size: 1.8rem;
}

.my-account-content h3 {
	font-size: 1.4rem;
}

/* =============================================================================
   TABLAS DE PEDIDOS
   ============================================================================= */
.woocommerce-orders-table,
.woocommerce-MyAccount-orders {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 30px;
}

.woocommerce-orders-table thead th,
.woocommerce-MyAccount-orders thead th {
	background: var(--undetalle-bg-light);
	padding: 15px;
	text-align: left;
	font-weight: 600;
	color: var(--undetalle-text);
	border-bottom: 2px solid var(--undetalle-border);
}

.woocommerce-orders-table tbody td,
.woocommerce-MyAccount-orders tbody td {
	padding: 15px;
	border-bottom: 1px solid var(--undetalle-border);
}

.woocommerce-orders-table tbody tr:hover,
.woocommerce-MyAccount-orders tbody tr:hover {
	background: rgba(236, 89, 112, 0.02);
}

/* =============================================================================
   BOTONES
   ============================================================================= */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button {
	background: linear-gradient(135deg, #EC5970 0%, #e94562 100%);
	color: white;
	border: none;
	border-radius: 50px;
	padding: 12px 28px;
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 6px 20px rgba(236, 89, 112, 0.3);
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: linear-gradient(135deg, #e94562 0%, #d63851 100%);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(236, 89, 112, 0.4);
}

.woocommerce .button.alt {
	background: white;
	color: var(--undetalle-primary);
	border: 2px solid var(--undetalle-primary);
	box-shadow: none;
}

.woocommerce .button.alt:hover {
	background: var(--undetalle-primary);
	color: white;
}

/* =============================================================================
   FORMULARIOS
   ============================================================================= */
.woocommerce-form-row {
	margin-bottom: 20px;
}

.woocommerce-form-row label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--undetalle-text);
}

.woocommerce-form-row input[type="text"],
.woocommerce-form-row input[type="email"],
.woocommerce-form-row input[type="password"],
.woocommerce-form-row input[type="date"],
.woocommerce-form-row input[type="tel"],
.woocommerce-form-row select,
.woocommerce-form-row textarea {
	width: 100%;
	padding: 12px 18px;
	border: 2px solid var(--undetalle-border);
	border-radius: 8px;
	font-size: 1rem;
	transition: all 0.3s ease;
	background: white;
}

.woocommerce-form-row input:focus,
.woocommerce-form-row select:focus,
.woocommerce-form-row textarea:focus {
	outline: none;
	border-color: var(--undetalle-primary);
	box-shadow: 0 0 0 3px rgba(236, 89, 112, 0.1);
}

.woocommerce-form-row .required {
	color: var(--undetalle-primary);
}

/* =============================================================================
   FECHAS ESPECIALES (Custom Endpoint)
   ============================================================================= */
.undetalle-special-dates {
	margin-top: 20px;
}

.special-dates-header {
	margin-bottom: 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.special-dates-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 30px;
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.special-dates-table thead {
	background: linear-gradient(135deg, #EC5970 0%, #e94562 100%);
	color: white;
}

.special-dates-table th {
	padding: 18px 20px;
	text-align: left;
	font-weight: 600;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.special-dates-table td {
	padding: 18px 20px;
	border-bottom: 1px solid var(--undetalle-border);
	color: var(--undetalle-text);
}

.special-dates-table tbody tr:last-child td {
	border-bottom: none;
}

.special-dates-table tbody tr:hover {
	background: rgba(236, 89, 112, 0.02);
}

.special-dates-table .button {
	padding: 8px 18px;
	font-size: 0.9rem;
	margin-right: 8px;
}

/* =============================================================================
   MODAL DE FECHAS ESPECIALES
   ============================================================================= */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 10000;
	align-items: center;
	justify-content: center;
}

.modal.active {
	display: flex;
}

.modal-content {
	background: white;
	border-radius: 20px;
	padding: 40px;
	max-width: 500px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: none;
	border: none;
	font-size: 2rem;
	color: var(--undetalle-text-muted);
	cursor: pointer;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.3s ease;
}

.modal-close:hover {
	background: var(--undetalle-bg-light);
	color: var(--undetalle-primary);
}

#special-date-form p {
	margin-bottom: 20px;
}

#special-date-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--undetalle-text);
}

#special-date-form input,
#special-date-form select {
	width: 100%;
	padding: 12px 18px;
	border: 2px solid var(--undetalle-border);
	border-radius: 8px;
	font-size: 1rem;
	transition: all 0.3s ease;
}

#special-date-form input:focus,
#special-date-form select:focus {
	outline: none;
	border-color: var(--undetalle-primary);
	box-shadow: 0 0 0 3px rgba(236, 89, 112, 0.1);
}

/* =============================================================================
   MENSAJES Y NOTIFICACIONES
   ============================================================================= */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	padding: 15px 20px;
	border-radius: 8px;
	margin-bottom: 25px;
	border-left: 4px solid;
}

.woocommerce-message {
	background: #d4edda;
	border-color: #28a745;
	color: #155724;
}

.woocommerce-info {
	background: #d1ecf1;
	border-color: #17a2b8;
	color: #0c5460;
}

.woocommerce-error {
	background: #f8d7da;
	border-color: #dc3545;
	color: #721c24;
}

/* =============================================================================
   RESPONSIVE - TABLET
   ============================================================================= */
@media (max-width: 1024px) {
	.my-account-content-wrapper {
		grid-template-columns: 240px 1fr;
		gap: 30px;
	}
	
	.my-account-header {
		padding: 30px;
	}
	
	.account-welcome {
		font-size: 1.6rem;
	}
}

/* =============================================================================
   RESPONSIVE - MOBILE
   ============================================================================= */
@media (max-width: 768px) {
	.undetalle-my-account-wrapper {
		padding: 20px 15px;
	}
	
	.my-account-header {
		padding: 25px 20px;
		border-radius: 16px;
	}
	
	.account-user-info {
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}
	
	.account-avatar img {
		width: 70px;
		height: 70px;
	}
	
	.account-welcome {
		font-size: 1.4rem;
	}
	
	.account-email {
		font-size: 1rem;
	}
	
	.my-account-content-wrapper {
		grid-template-columns: 1fr;
		gap: 25px;
	}
	
	.my-account-navigation {
		position: static;
		order: 2;
	}
	
	.my-account-content {
		order: 1;
		padding: 25px 20px;
	}
	
	.account-menu-link {
		padding: 14px 20px;
		font-size: 0.95rem;
	}
	
	.special-dates-table {
		font-size: 0.9rem;
	}
	
	.special-dates-table th,
	.special-dates-table td {
		padding: 12px 15px;
	}
	
	.modal-content {
		padding: 30px 20px;
		max-width: 95%;
	}
}

/* =============================================================================
   ANIMACIONES
   ============================================================================= */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.my-account-content {
	animation: fadeIn 0.5s ease-out;
}

.account-menu-item {
	animation: fadeIn 0.5s ease-out;
	animation-fill-mode: both;
}

.account-menu-item:nth-child(1) { animation-delay: 0.05s; }
.account-menu-item:nth-child(2) { animation-delay: 0.1s; }
.account-menu-item:nth-child(3) { animation-delay: 0.15s; }
.account-menu-item:nth-child(4) { animation-delay: 0.2s; }
.account-menu-item:nth-child(5) { animation-delay: 0.25s; }
.account-menu-item:nth-child(6) { animation-delay: 0.3s; }

/* =============================================================================
   FECHAS ESPECIALES - SPECIAL DATES
   ============================================================================= */

/* Header */
.undetalle-special-dates .special-dates-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid var(--undetalle-bg-light);
}

.undetalle-special-dates .special-dates-header h2 {
	margin: 0;
	font-size: 1.8rem;
	color: var(--undetalle-text);
	font-weight: 700;
}

.button-create-date {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px;
	background: linear-gradient(135deg, var(--undetalle-primary) 0%, var(--undetalle-primary-hover) 100%);
	color: white;
	border: none;
	border-radius: 999px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 8px 20px rgba(236, 89, 112, 0.3);
}

.button-create-date:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(236, 89, 112, 0.4);
}

.button-create-date svg {
	flex-shrink: 0;
}

/* Lista de Fechas */
.special-dates-list {
	display: grid;
	gap: 20px;
}

.special-date-card {
	background: var(--undetalle-white);
	border: 2px solid var(--undetalle-border);
	border-radius: 16px;
	padding: 25px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: all 0.3s ease;
}

.special-date-card:hover {
	border-color: var(--undetalle-primary);
	box-shadow: 0 8px 25px rgba(236, 89, 112, 0.15);
	transform: translateX(5px);
}

.special-date-info {
	flex: 1;
}

.special-date-info h3 {
	margin: 0 0 10px 0;
	font-size: 1.2rem;
	color: var(--undetalle-text);
	font-weight: 600;
}

.special-date-meta {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.date-type {
	display: inline-block;
	padding: 6px 16px;
	background: linear-gradient(135deg, var(--undetalle-primary) 0%, var(--undetalle-primary-hover) 100%);
	color: white;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 600;
}

.date-value {
	color: var(--undetalle-text-light);
	font-size: 0.95rem;
	font-weight: 500;
}

.special-date-actions {
	display: flex;
	gap: 10px;
}

.btn-edit,
.btn-delete {
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.btn-edit {
	background: #e0f2fe;
	color: #0284c7;
}

.btn-edit:hover {
	background: #0284c7;
	color: white;
	transform: scale(1.1);
}

.btn-delete {
	background: #fee2e2;
	color: #dc2626;
}

.btn-delete:hover {
	background: #dc2626;
	color: white;
	transform: scale(1.1);
}

/* Empty State */
.special-dates-empty {
	text-align: center;
	padding: 60px 40px;
	background: var(--undetalle-bg-light);
	border-radius: 16px;
	border: 2px dashed var(--undetalle-border);
}

.special-dates-empty svg {
	margin-bottom: 20px;
	opacity: 0.3;
}

.special-dates-empty h3 {
	font-size: 1.4rem;
	color: var(--undetalle-text);
	margin: 0 0 10px 0;
}

.special-dates-empty p {
	color: var(--undetalle-text-light);
	font-size: 1rem;
	margin: 0;
}

/* Modal */
.special-date-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
}

.special-date-modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(5px);
}

.special-date-modal .modal-content {
	position: relative;
	background: white;
	border-radius: 20px;
	max-width: 600px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	z-index: 1;
	animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
	from {
		opacity: 0;
		transform: translateY(-50px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 30px 30px 20px;
	border-bottom: 2px solid var(--undetalle-bg-light);
}

.modal-header h3 {
	margin: 0;
	font-size: 1.5rem;
	color: var(--undetalle-text);
	font-weight: 700;
}

.modal-close {
	background: transparent;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	color: var(--undetalle-text-muted);
}

.modal-close:hover {
	background: var(--undetalle-bg-light);
	color: var(--undetalle-text);
	transform: rotate(90deg);
}

#special-date-form {
	padding: 30px;
}

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

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--undetalle-text);
	font-size: 1rem;
}

.form-group small {
	display: block;
	color: var(--undetalle-text-muted);
	font-size: 0.85rem;
	margin-bottom: 8px;
}

.form-group .required {
	color: #dc2626;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group select {
	width: 100%;
	padding: 14px 18px;
	border: 2px solid var(--undetalle-border);
	border-radius: 12px;
	font-size: 1rem;
	color: var(--undetalle-text);
	background: var(--undetalle-bg-light);
	transition: all 0.3s ease;
	box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
	outline: none;
	border-color: var(--undetalle-primary);
	background: white;
	box-shadow: 0 0 0 4px rgba(236, 89, 112, 0.1);
}

.modal-footer {
	padding: 20px 30px 30px;
}

.button-save {
	width: 100%;
	padding: 16px 32px;
	background: linear-gradient(135deg, var(--undetalle-primary) 0%, var(--undetalle-primary-hover) 100%);
	color: white;
	border: none;
	border-radius: 12px;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 8px 20px rgba(236, 89, 112, 0.3);
	letter-spacing: 0.5px;
}

.button-save:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(236, 89, 112, 0.4);
}

/* Responsive - Special Dates */
@media (max-width: 768px) {
	.undetalle-special-dates .special-dates-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}
	
	.button-create-date {
		width: 100%;
		justify-content: center;
	}
	
	.special-date-card {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}
	
	.special-date-actions {
		width: 100%;
		justify-content: flex-end;
	}
	
	.special-date-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	
	.special-date-modal .modal-content {
		width: 95%;
		max-width: none;
	}
	
	.modal-header,
	#special-date-form,
	.modal-footer {
		padding-left: 20px;
		padding-right: 20px;
	}
}

/* =============================================================================
   LOGIN & REGISTER FORMS (Para My Account y Checkout)
   ============================================================================= */
.my-account-login-wrapper,
.checkout-auth-wrapper {
	max-width: 600px;
	margin: 80px auto;
	padding: 20px;
}

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

.checkout-auth-header h1 {
	font-size: 32px;
	color: var(--undetalle-text);
	margin-bottom: 10px;
	font-weight: 700;
}

.checkout-auth-header p {
	color: var(--undetalle-text-light);
	font-size: 16px;
}

.login-register-container {
	background: var(--undetalle-white);
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
	padding: 40px;
}

.login-register-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 30px;
	background: var(--undetalle-bg-light);
	padding: 8px;
	border-radius: 12px;
}

.tab-button {
	flex: 1;
	padding: 14px 20px;
	border: none;
	background: transparent;
	color: var(--undetalle-text-light);
	font-size: 16px;
	font-weight: 600;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.tab-button:hover {
	background: rgba(236, 89, 112, 0.1);
	color: var(--undetalle-primary);
}

.tab-button.active {
	background: var(--undetalle-white);
	color: var(--undetalle-primary);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
	animation: fadeIn 0.3s ease;
}

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

.tab-content h2 {
	font-size: 24px;
	color: var(--undetalle-text);
	margin-bottom: 8px;
	font-weight: 700;
}

.form-description {
	color: var(--undetalle-text-light);
	margin-bottom: 30px;
	font-size: 15px;
}

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

.form-group label {
	display: block;
	margin-bottom: 8px;
	color: var(--undetalle-text);
	font-weight: 600;
	font-size: 15px;
}

.form-group label .required {
	color: var(--undetalle-primary);
}

.form-group .input-text {
	width: 100%;
	padding: 14px 16px;
	border: 2px solid var(--undetalle-border);
	border-radius: 10px;
	font-size: 15px;
	color: var(--undetalle-text);
	transition: all 0.3s ease;
}

.form-group .input-text:focus {
	outline: none;
	border-color: var(--undetalle-primary);
	box-shadow: 0 0 0 4px rgba(236, 89, 112, 0.1);
}

.form-group .input-text::placeholder {
	color: var(--undetalle-text-muted);
}

.form-hint {
	display: block;
	margin-top: 6px;
	color: var(--undetalle-text-muted);
	font-size: 13px;
}

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

.checkbox-label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
	accent-color: var(--undetalle-primary);
}

.button-primary {
	width: 100%;
	padding: 16px 32px;
	background: var(--undetalle-primary);
	color: white;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(236, 89, 112, 0.3);
}

.button-primary:hover {
	background: var(--undetalle-primary-hover);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(236, 89, 112, 0.4);
}

.button-primary:disabled {
	background: var(--undetalle-border);
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.form-footer {
	margin-top: 20px;
	text-align: center;
	color: var(--undetalle-text-light);
	font-size: 14px;
}

.form-footer a {
	color: var(--undetalle-primary);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
}

.form-footer a:hover {
	color: var(--undetalle-primary-dark);
	text-decoration: underline;
}

/* Form Messages */
.form-messages {
	margin-bottom: 20px;
}

.success-message,
.error-message {
	padding: 14px 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	animation: slideDown 0.3s ease;
}

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

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

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

/* Responsive */
@media (max-width: 768px) {
	.my-account-login-wrapper,
	.checkout-auth-wrapper {
		margin: 40px auto;
		padding: 15px;
	}
	
	.login-register-container {
		padding: 24px;
	}
	
	.checkout-auth-header h1 {
		font-size: 26px;
	}
	
	.tab-content h2 {
		font-size: 20px;
	}
}

