/* ===== FONDO CON BLUR Y ELIPSES ===== */
.profilePage {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: auto;
  background: linear-gradient(135deg, #0f2e2c 0%, #1a3c39 50%, #0f2e2c 100%);
}

.gradientElipse {
  position: absolute;
  width: 516px;
  height: 516px;
  background: radial-gradient(circle, #e8f8f0);
  opacity: 0.8;
  z-index: 0;
  filter: blur(120px);
}

.elipse1 {
  position: absolute;
  width: 516px;
  height: 516px;
  background: linear-gradient(45deg, #81c784, #66bb6a);
  opacity: 0.7;
  z-index: 0;
  bottom: -200px;
  left: -200px;
  border-radius: 50%;
}

.elipse2 {
  position: absolute;
  width: 516px;
  height: 516px;
  border-radius: 50%;
  background: linear-gradient(45deg, #81c784, #66bb6a);
  opacity: 0.6;
  z-index: 0;
  top: -100px;
  right: -100px;
}

.blurContainer {
  z-index: 1;
  position: relative;
  padding: 80px 20px 40px 20px;
}

/* ===== MOBILE FIRST RESPONSIVE DESIGN ===== */

/* ===== BASE - MOBILE (0px - 767px) ===== */
.profile-container {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: linear-gradient(135deg, #0f2e2c 0%, #1a3c39 50%, #0f2e2c 100%);
}

.profile-content {
  max-width: 100%;
  text-align: center;
  margin-bottom: 30px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.profile-title {
  color: #ffffff;
  font-family: "Lexend", sans-serif;
  font-weight: 800;
  font-size: 48px;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 0;
  line-height: 1.1;
  padding: 0 15px;
  text-shadow: 0 4px 20px rgba(0, 168, 107, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.profile-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00a86b, #66bb6a);
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(0, 168, 107, 0.4);
}

.profile-subtitle {
  font-family: "Lexend", sans-serif;
  color: #e0e0e0;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 0;
  line-height: 1.7;
  padding: 0 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.profile-card {
  background-color: #0f2e2c;
  border: 2px solid #1a3c39;
  font-family: "Lexend", sans-serif;
  border-radius: 12px;
  padding: 0;
  height: auto;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  margin: 50px 0 20px 0;
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 168, 107, 0.2);
  border-color: #00a86b;
}

.profile-sections {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px;
}

.profile-section {
  background-color: #1a3c39;
  border: 1px solid #2a4c49;
  border-radius: 8px;
  padding: 20px;
}

.section-title {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(90deg, #00a86b, #66bb6a);
  border-radius: 2px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.info-label {
  color: #00a86b;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  color: #e0e0e0;
  font-size: 16px;
  font-weight: 400;
  padding: 8px 0;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.action-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-family: "Lexend", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.action-button.primary {
  background: linear-gradient(135deg, #00a86b, #66bb6a);
  color: white;
}

.action-button.primary:hover {
  background: linear-gradient(135deg, #008a5a, #4a9d4a);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 168, 107, 0.3);
}

.action-button.secondary {
  background: transparent;
  color: #00a86b;
  border: 2px solid #00a86b;
}

.action-button.secondary:hover {
  background: #00a86b;
  color: white;
  transform: translateY(-2px);
}

.action-button.danger {
  background: transparent;
  color: #e74c3c;
  border: 2px solid #e74c3c;
}

.action-button.danger:hover {
  background: #e74c3c;
  color: white;
  transform: translateY(-2px);
}

/* ===== TABLET (768px - 1023px) ===== */
@media (min-width: 768px) {
  .profile-container {
    padding: 0;
  }

  .blurContainer {
    padding: 100px 30px 40px 30px;
  }

  /* Ajustes para las elipses en tablet */
  .gradientElipse {
    width: 400px;
    height: 400px;
    filter: blur(100px);
  }

  .elipse1 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -150px;
  }

  .elipse2 {
    width: 400px;
    height: 400px;
    top: -80px;
    right: -80px;
  }

  .profile-content {
    padding: 0 30px;
    margin-bottom: 10px;
  }

  .profile-title {
    font-size: 56px;
    margin-bottom: 35px;
    padding: 0 20px;
  }

  .profile-title::after {
    width: 100px;
    height: 5px;
    bottom: -12px;
  }

  .profile-subtitle {
    font-size: 20px;
    padding: 0 40px;
    max-width: 800px;
  }

  .profile-card {
    padding: 0;
    border-radius: 16px;
    margin: 60px 0 40px 0;
  }

  .profile-sections {
    padding: 25px;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .action-buttons {
    flex-direction: row;
    gap: 20px;
  }

  .action-button {
    flex: 1;
    justify-content: center;
  }
}

/* ===== MOBILE (0px - 767px) ===== */
@media (max-width: 767px) {
  .profile-container {
    padding: 0;
  }

  .blurContainer {
    padding: 80px 20px 40px 20px;
  }

  /* Ajustes para las elipses en mobile */
  .gradientElipse {
    width: 300px;
    height: 300px;
    filter: blur(80px);
  }

  .elipse1 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -100px;
  }

  .elipse2 {
    width: 300px;
    height: 300px;
    top: -60px;
    right: -60px;
  }

  /* Ajustes de tipografía para mobile */
  .profile-title {
    font-size: 32px;
    margin-bottom: 25px;
    margin-top: 20px;
    padding: 0 10px;
  }

  .profile-subtitle {
    font-size: 16px;
    padding: 0 15px;
    line-height: 1.5;
  }
}

/* ===== DESKTOP (1024px+) ===== */
@media (min-width: 1024px) {
  .profile-container {
    padding: 0;
  }

  .blurContainer {
    padding: 120px 40px 40px 40px;
  }

  .profile-content {
    max-width: 1200px;
    margin: 0 auto 30px auto;
    text-align: center;
    padding: 0 40px;
  }

  .profile-title {
    text-align: center;
    color: #ffffff;
    font-family: "Lexend", sans-serif;
    font-weight: 800;
    font-size: 36px;
    margin-bottom: 40px;
    margin-top: 20px;
    margin-left: 0;
    line-height: 1.1;
  }

  .profile-title::after {
    width: 120px;
    height: 6px;
    bottom: -15px;
  }

  .profile-subtitle {
    color: #e0e0e0;
    font-family: "Lexend", sans-serif;
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 0;
    text-align: center;
    padding: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
    line-height: 1.7;
  }

  .profile-card {
    background-color: #0f2e2c;
    border: 2px solid #1a3c39;
    font-family: "Lexend", sans-serif;
    border-radius: 4px;
    padding: 0;
    height: auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    margin: 70px 0 60px 0;
  }

  .profile-sections {
    padding: 25px;
  }

  .profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 168, 107, 0.2);
    border-color: #00a86b;
  }

  .profile-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .profile-section {
    background-color: #1a3c39;
    border: 1px solid #2a4c49;
    border-radius: 8px;
    padding: 25px;
  }

  .section-title {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 25px 0;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .info-label {
    font-size: 14px;
  }

  .info-value {
    font-size: 16px;
    padding: 10px 0;
  }

  .action-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .action-button {
    padding: 15px 25px;
    font-size: 16px;
  }
}

/* ===== LARGE DESKTOP (1440px+) ===== */
@media (min-width: 1440px) {
  .profile-container {
    padding: 0;
  }

  .blurContainer {
    padding: 140px 60px 40px 60px;
  }

  .profile-content {
    max-width: 1400px;
    margin-bottom: 30px;
    padding: 0 60px;
  }

  .profile-title {
    font-size: 72px;
    margin-bottom: 50px;
  }

  .profile-title::after {
    width: 140px;
    height: 7px;
    bottom: -18px;
  }

  .profile-subtitle {
    font-size: 24px;
    max-width: 1000px;
  }

  .profile-card {
    padding: 0;
    margin: 80px 0 60px 0;
  }

  .profile-sections {
    padding: 35px;
  }

  .profile-sections {
    gap: 40px;
  }

  .profile-section {
    padding: 35px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .action-button {
    padding: 18px 30px;
    font-size: 18px;
  }
}

/* ===== MODO CLARO ===== */
.profilePage {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%) !important;
}

.profile-container {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%) !important;
}

/* Estilos para las elipses en modo claro */
.gradientElipse {
  background: radial-gradient(circle, #e8f8f0) !important;
  opacity: 0.8 !important;
}

.elipse1 {
  background: linear-gradient(45deg, #81c784, #66bb6a) !important;
  opacity: 0.7 !important;
}

.elipse2 {
  background: linear-gradient(45deg, #81c784, #66bb6a) !important;
  opacity: 0.6 !important;
}

.profile-title {
  background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  text-shadow: 0 4px 20px rgba(0, 168, 107, 0.2) !important;
}

.profile-title::after {
  background: linear-gradient(90deg, #00a86b, #66bb6a) !important;
  box-shadow: 0 2px 10px rgba(0, 168, 107, 0.3) !important;
}

.profile-subtitle {
  color: #4a5568 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Solo aplicar estilos modernos en mobile y tablet */
@media (max-width: 1023px) {
  .profile-card {
    background-color: #ffffff !important;
    border: 2px solid #e1e8ed !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  }

  .profile-card:hover {
    background-color: #f8f9fa !important;
    border-color: #00a86b !important;
    box-shadow: 0 8px 25px rgba(0, 168, 107, 0.15) !important;
  }

  .profile-section {
    background-color: #ffffff !important;
    border: 1px solid #e1e8ed !important;
  }

  .section-title {
    color: #1a1a1a !important;
  }

  .info-value {
    color: #4a5568 !important;
  }

  .info-label {
    color: #00a86b !important;
  }
}

/* En desktop mantener el diseño original */
@media (min-width: 1024px) {
  .profile-card {
    background-color: #0f2e2c !important;
    border: 2px solid #1a3c39 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  }

  .profile-card:hover {
    background-color: #1a3c39 !important;
    border-color: #00a86b !important;
    box-shadow: 0 8px 25px rgba(0, 168, 107, 0.2) !important;
  }

  .profile-section {
    background-color: #1a3c39 !important;
    border: 1px solid #2a4c49 !important;
  }

  .section-title {
    color: #ffffff !important;
  }

  .info-value {
    color: #e0e0e0 !important;
  }

  .info-label {
    color: #00a86b !important;
  }
}

/* ===== MODO OSCURO ===== */
.dark .profilePage {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%) !important;
}

.dark .profile-container {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%) !important;
}

/* Estilos para las elipses en modo oscuro */
.dark .gradientElipse {
  background: radial-gradient(circle, #00ffae) !important;
  opacity: 0.3 !important;
}

.dark .elipse1 {
  background: linear-gradient(45deg, #00ffae, #00cc8a) !important;
  opacity: 0.4 !important;
}

.dark .elipse2 {
  background: linear-gradient(circle, #00ffae, #00cc8a) !important;
  opacity: 0.3 !important;
}

.dark .profile-title {
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1) !important;
}

.dark .profile-title::after {
  background: linear-gradient(90deg, #00ffae, #00cc8a) !important;
  box-shadow: 0 2px 10px rgba(0, 255, 174, 0.4) !important;
}

.dark .profile-subtitle {
  color: #e0e0e0 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.dark .profile-card {
  background-color: #0f2e2c !important;
  border-color: #1a3c39 !important;
  box-shadow: 0 4px 12px rgba(0, 255, 174, 0.1) !important;
}

.dark .profile-card:hover {
  background-color: #1a3c39 !important;
  border-color: #00ffae !important;
  box-shadow: 0 8px 25px rgba(0, 255, 174, 0.25) !important;
}

.dark .profile-section {
  background-color: #1a3c39 !important;
  border-color: #2a4c49 !important;
}

.dark .section-title {
  color: #ffffff !important;
}

.dark .info-value {
  color: #e0e0e0 !important;
}

.dark .info-label {
  color: #00ffae !important;
}

/* ===== SUBSCRIPTION MANAGEMENT STYLES ===== */
.subscription-container {
  background: #ffffff;
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  padding: 20px;
  margin-top: 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.subscription-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 168, 107, 0.1);
  border-color: #00a86b;
}

.subscription-description {
  font-family: "Lexend", sans-serif;
  font-size: 16px;
  color: #4a5568;
  margin: 0 0 20px 0;
  text-align: center;
  line-height: 1.6;
  opacity: 0.9;
}

.subscription-action {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.cancel-subscription-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 2px solid #dc3545;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #ffffff 0%, #fef5f5 100%);
  color: #dc3545;
  font-family: "Lexend", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cancel-subscription-btn:hover {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
  border-color: #c82333;
}

.cancel-subscription-btn .btn-text {
  text-align: center;
}

.subscription-note {
  font-family: "Lexend", sans-serif;
  font-size: 14px;
  color: #6c757d;
  text-align: center;
  margin: 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 4px solid #dc3545;
  line-height: 1.5;
  opacity: 0.9;
}

/* Dark mode styles for subscription container */
.dark .subscription-container {
  background-color: #1a3c39;
  border: 1px solid #2a4c49;
}

.dark .subscription-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 168, 107, 0.2);
  border-color: #00a86b;
}

.dark .subscription-description {
  color: #e0e0e0;
}

.dark .cancel-subscription-btn {
  background: linear-gradient(135deg, #1a3c39 0%, #0f2e2c 100%);
  color: #dc3545;
  border-color: #dc3545;
}

.dark .cancel-subscription-btn:hover {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
  border-color: #c82333;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.dark .subscription-note {
  background: #0f2e2c;
  color: #a0aec0;
  border-left-color: #dc3545;
}

/* Responsive design for subscription container */
@media (max-width: 768px) {
  .subscription-container {
    padding: 15px;
  }
  
  .cancel-subscription-btn {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
  }
  
  .cancel-subscription-btn .btn-text {
    text-align: center;
  }
  
  .subscription-description {
    font-size: 14px;
  }
  
  .subscription-note {
    font-size: 13px;
    padding: 12px;
  }
}

/* ===== MODAL STYLES ===== */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 46, 44, 0.8);
	backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	opacity: 0;
	animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
	to {
		opacity: 1;
	}
}

.modal-content {
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	border-radius: 4px;
	box-shadow: 0 20px 60px rgba(0, 168, 107, 0.2);
	border: 1px solid rgba(0, 168, 107, 0.1);
	max-width: 500px;
	width: 90%;
	max-height: 90vh;
	overflow-x: hidden;
	overflow-y: auto;
	transform: scale(0.9);
	animation: modalSlideIn 0.3s ease forwards;
}

@keyframes modalSlideIn {
	to {
		transform: scale(1);
	}
}

.modal-header {
	padding: 2rem 2rem 1rem 2rem;
	border-bottom: 1px solid rgba(0, 168, 107, 0.1);
}

.modal-title {
	font-size: 1.5rem;
	font-weight: 600;
	color: #1e293b;
	margin: 0;
	text-align: center;
	font-family: "Lexend", sans-serif;
	letter-spacing: -0.5px;
}

.modal-body {
	padding: 1.5rem 2rem;
}

.modal-message {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: #4a5568;
	margin: 0;
	text-align: center;
	font-family: "Lexend", sans-serif;
	font-weight: 400;
}

.modal-footer {
	padding: 1rem 2rem 2rem 2rem;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	flex-direction: row;
	overflow: hidden;
}

.modal-btn {
	padding: 0.875rem 1.5rem;
	border-radius: 6px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	border: 2px solid transparent;
	min-width: 140px;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: "Lexend", sans-serif;
}

.modal-btn-cancel {
	background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
	color: #4a5568;
	border-color: #cbd5e0;
	order: 2;
	position: relative;
	overflow: hidden;
}

.modal-btn-cancel:hover {
	background: linear-gradient(135deg, #cbd5e0 0%, #a0aec0 100%);
	border-color: #a0aec0;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-btn-cancel::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(71, 85, 105, 0.1), transparent);
	transition: left 0.5s ease;
}

.modal-btn-cancel:hover::before {
	left: 100%;
}

.modal-btn-cancel:disabled {
  opacity: 0.8;
}

.modal-btn-confirm {
	padding: 0.75rem 1.75rem;
	border-radius: 4px;
	font-family: "Lexend", sans-serif;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.15s ease;
	border: 2px solid #dc2626;
	min-width: 120px;
	position: relative;
	overflow: hidden;
	background: #dc2626;
	color: white;
	order: 1;
}

.modal-btn-confirm::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	transition: left 0.5s ease;
}

.modal-btn-confirm:hover::before {
	left: 100%;
}

.modal-btn-confirm:hover {
	background: #b91c1c;
	border-color: #b91c1c;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4), 0 2px 4px rgba(220, 38, 38, 0.2);
}

.modal-btn-confirm:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.btn-loading {
  display: none;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Dark mode styles for modal */
.dark .modal-overlay {
	background: rgba(0, 0, 0, 0.8);
}

.dark .modal-content {
	background: linear-gradient(135deg, #1a3c39 0%, #0f2e2c 100%);
	border-color: rgba(0, 255, 174, 0.2);
	box-shadow: 0 20px 60px rgba(0, 255, 174, 0.1);
}

.dark .modal-header {
	border-bottom-color: rgba(0, 255, 174, 0.2);
}

.dark .modal-title {
	color: #ffffff;
}

.dark .modal-message {
	color: #e0e0e0;
}

.dark .modal-btn-cancel {
	background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
	color: #e0e0e0;
	border-color: #4a5568;
	order: 2;
}

.dark .modal-btn-cancel:hover {
	background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
	border-color: #00ffae;
	box-shadow: 0 4px 12px rgba(0, 255, 174, 0.2);
}

[data-theme="dark"] .modal-btn-confirm {
	background: #dc2626;
	color: white;
	border-color: #dc2626;
	order: 1;
}

[data-theme="dark"] .modal-btn-confirm:hover {
	background: #b91c1c;
	border-color: #b91c1c;
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.5), 0 2px 4px rgba(220, 38, 38, 0.3);
}

[data-theme="dark"] .modal-btn-cancel {
	background: #1e293b;
	color: #cbd5e1;
	border-color: #475569;
	order: 2;
}

[data-theme="dark"] .modal-btn-cancel:hover {
	background: #334155;
	border-color: #64748b;
	box-shadow: 0 4px 12px rgba(71, 85, 105, 0.3), 0 2px 4px rgba(71, 85, 105, 0.2);
}

/* Subscription section styles */
.subscription-section {
  margin-top: 1.5rem;
}

.subscription-section .section-title {
  color: #0f2e2c;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.subscription-section .section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(90deg, #00a86b, #66bb6a);
  border-radius: 2px;
}

.dark .subscription-section .section-title {
  color: #ffffff;
}

/* Light mode specific styles for subscription */
@media (max-width: 1023px) {
  .subscription-container {
    background: #ffffff !important;
    border: 1px solid #e1e8ed !important;
  }
  
  .subscription-container:hover {
    border-color: #00a86b !important;
    box-shadow: 0 4px 16px rgba(0, 168, 107, 0.1) !important;
  }
  
  .subscription-description {
    color: #4a5568 !important;
  }
  
  .subscription-note {
    background: #f8f9fa !important;
    color: #6c757d !important;
  }
}

/* Desktop maintains dark theme for subscription */
@media (min-width: 1024px) {
  .subscription-container {
    background: #1a3c39 !important;
    border: 1px solid #2a4c49 !important;
  }
  
  .subscription-container:hover {
    border-color: #00a86b !important;
    box-shadow: 0 4px 16px rgba(0, 168, 107, 0.2) !important;
  }
  
  .subscription-description {
    color: #e0e0e0 !important;
  }
  
  .subscription-note {
    background: #0f2e2c !important;
    color: #a0aec0 !important;
  }
}

/* Responsive modal */
@media (max-width: 768px) {
  .modal-content {
    margin: 1rem;
    width: calc(100% - 2rem);
  }
  
  .modal-header,
  .modal-body,
  .modal-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .modal-footer {
    flex-direction: column;
  }
  
  .modal-btn {
    width: 100%;
  }
}

/* ===== SUCCESS MODAL STYLES ===== */
.modal-overlay.success-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(8px);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.success-modal-overlay.show {
	opacity: 1;
	visibility: visible;
}

.success-modal {
	background: rgba(11, 28, 26, 0.95);
	backdrop-filter: blur(20px);
	border-radius: 8px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(0, 168, 107, 0.2);
	max-width: 420px;
	width: 90%;
	max-height: 90vh;
	overflow: hidden;
	transform: scale(0.9) translateY(20px);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

.success-modal::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(0, 168, 107, 0.1) 0%, rgba(0, 255, 174, 0.05) 100%);
	border-radius: 8px;
	pointer-events: none;
}

.modal-overlay.success-modal-overlay.show .success-modal {
	transform: scale(1) translateY(0);
}

.success-modal .modal-header {
	padding: 32px 32px 24px 32px;
	border-bottom: 1px solid rgba(0, 168, 107, 0.2);
	position: relative;
	z-index: 1;
	text-align: center;
}

.success-modal .modal-header .modal-title {
	margin: 0;
	font-family: "Lexend", sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: #00FFAE;
	text-shadow: 0 4px 20px rgba(0, 255, 174, 0.3);
}

.success-modal .modal-body {
	padding: 24px 32px;
	position: relative;
	z-index: 1;
	text-align: center;
}

.success-modal .modal-body .modal-message {
	margin: 0;
	font-family: "Lexend", sans-serif;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.6;
}

.success-modal .modal-footer {
	padding: 24px 32px 32px 32px;
	display: flex;
	gap: 12px;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.success-icon {
	display: flex;
	justify-content: center;
	margin-bottom: 16px;
	animation: successPulse 2s ease-in-out infinite;
}

.success-icon svg {
	filter: drop-shadow(0 4px 20px rgba(0, 168, 107, 0.4));
}

@keyframes successPulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

.modal-btn-success {
	padding: 12px 24px;
	border-radius: 8px;
	font-family: "Lexend", sans-serif;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 1px solid transparent;
	min-width: 120px;
	position: relative;
	overflow: hidden;
	background: rgba(0, 168, 107, 0.9);
	border-color: rgba(0, 168, 107, 0.5);
	color: white;
}

.modal-btn-success::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	transition: left 0.5s ease;
}

.modal-btn-success:hover::before {
	left: 100%;
}

.modal-btn-success:hover {
	background: rgba(0, 140, 89, 0.95);
	border-color: rgba(0, 140, 89, 0.7);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 168, 107, 0.3);
}

/* Animación de entrada para elementos internos */
.modal-overlay.success-modal-overlay.show .modal-header .modal-title {
	animation: slideInUp 0.6s ease 0.2s both;
}

.modal-overlay.success-modal-overlay.show .modal-body .modal-message {
	animation: slideInUp 0.6s ease 0.3s both;
}

.modal-overlay.success-modal-overlay.show .modal-btn-success {
	animation: slideInUp 0.6s ease 0.4s both;
}

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

/* Responsive */
@media (max-width: 640px) {
	.success-modal {
		width: 95%;
		margin: 1rem;
	}

	.success-modal .modal-header {
		padding: 1.5rem 1.5rem 1rem 1.5rem;
	}

	.success-modal .modal-header .modal-title {
		font-size: 1.25rem;
	}

	.success-modal .modal-body {
		padding: 1.5rem 1.5rem;
	}

	.success-modal .modal-body .modal-message {
		font-size: 0.9375rem;
	}

	.success-modal .modal-footer {
		padding: 1rem 1.5rem 1.5rem 1.5rem;
	}

	.modal-btn-success {
		width: 100%;
		min-width: auto;
	}

	.success-icon {
		margin-bottom: 1rem;
	}

	.success-icon svg {
		width: 48px;
		height: 48px;
	}
}

/* Dark mode styles for success modal */
[data-theme="dark"] .success-modal {
	background: rgba(15, 23, 42, 0.95);
	border-color: rgba(0, 255, 174, 0.2);
}

[data-theme="dark"] .success-modal::before {
	background: linear-gradient(135deg, rgba(0, 255, 174, 0.15) 0%, rgba(0, 168, 107, 0.1) 100%);
}

[data-theme="dark"] .success-modal .modal-header {
	background: #0f172a;
	border-bottom-color: #334155;
}

[data-theme="dark"] .success-modal .modal-title {
	color: #00FFAE;
}

[data-theme="dark"] .success-modal .modal-message {
	color: #e2e8f0;
}

[data-theme="dark"] .success-modal .modal-footer {
	border-top-color: #1e293b;
}

[data-theme="dark"] .modal-btn-success {
	background: rgba(0, 255, 174, 0.9);
	color: #0f172a;
	border-color: rgba(0, 255, 174, 0.5);
}

[data-theme="dark"] .modal-btn-success:hover {
	background: rgba(0, 214, 143, 0.95);
	border-color: rgba(0, 214, 143, 0.7);
	box-shadow: 0 8px 25px rgba(0, 255, 174, 0.4);
}

/* ===== EDITABLE FIELDS WITH ICONS ===== */
.info-item.editable {
	position: relative;
}

.info-value-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.edit-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: rgba(0, 255, 174, 0.1);
	border: 1px solid rgba(0, 255, 174, 0.3);
	border-radius: 8px;
	color: #00ffae;
	cursor: pointer;
	transition: all 0.3s ease;
	opacity: 0.7;
}

.edit-icon:hover {
	opacity: 1;
	background: rgba(0, 255, 174, 0.2);
	border-color: rgba(0, 255, 174, 0.5);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 255, 174, 0.3);
}

.edit-icon svg {
	width: 18px;
	height: 18px;
}

/* ===== EDIT MODAL STYLES ===== */
.edit-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.8);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	padding: 20px;
	backdrop-filter: blur(5px);
}

.edit-modal-content {
	background: #1a1a2e;
	border: 1px solid rgba(0, 255, 174, 0.2);
	border-radius: 16px;
	padding: 0;
	max-width: 500px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	position: relative;
}

.edit-modal-content .modal-header {
	padding: 24px;
	border-bottom: 1px solid rgba(0, 255, 174, 0.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.edit-modal-content .modal-title {
	font-size: 1.5rem;
	color: #00ffae;
	margin: 0;
	font-weight: 600;
}

.modal-close {
	background: transparent;
	border: none;
	color: #888;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.modal-close:hover {
	color: #fff;
	transform: rotate(90deg);
}

.edit-modal-content .modal-body {
	padding: 24px;
}

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

.form-label {
	display: block;
	color: #aaa;
	font-size: 0.9rem;
	margin-bottom: 8px;
	font-weight: 500;
	font-family: 'Lexend', sans-serif;
}

.form-input {
	width: 100%;
	padding: 12px 16px;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(0, 255, 174, 0.2);
	border-radius: 8px;
	color: #fff;
	font-size: 1rem;
	transition: all 0.3s ease;
	box-sizing: border-box;
	font-family: 'Lexend', sans-serif;
}

.form-input:focus {
	outline: none;
	border-color: #00ffae;
	box-shadow: 0 0 0 3px rgba(0, 255, 174, 0.1);
}

.alert {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 0.95rem;
}

.alert-success {
	background: rgba(0, 255, 174, 0.1);
	border: 1px solid rgba(0, 255, 174, 0.3);
	color: #00ffae;
}

.alert-error {
	background: rgba(255, 0, 0, 0.1);
	border: 1px solid rgba(255, 0, 0, 0.3);
	color: #ff6b6b;
}

.edit-modal-content .modal-footer {
	padding: 20px 24px;
	border-top: 1px solid rgba(0, 255, 174, 0.1);
	display: flex;
	gap: 12px;
	justify-content: flex-end;
}

.modal-btn {
	padding: 10px 24px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
}

.modal-btn-cancel {
	background: transparent;
	border: 2px solid #666;
	color: #888;
}

.modal-btn-cancel:hover {
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
	border-color: #888;
}

.edit-modal-content .modal-btn-confirm {
	background: linear-gradient(135deg, #00ffae 0%, #00d4ff 100%);
	color: #000;
	border: none;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.edit-modal-content .modal-btn-confirm::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #00d4ff 0%, #00ffae 100%);
	opacity: 0;
	z-index: -1;
	transition: opacity 0.3s ease;
}

.edit-modal-content .modal-btn-confirm:hover::before {
	opacity: 1;
}

.edit-modal-content .modal-btn-confirm:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 255, 174, 0.4);
	letter-spacing: 0.5px;
}

.edit-modal-content .modal-btn-confirm:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* Admin only section */
.admin-only-section {
	display: none;
}

/* Responsive for edit modal */
@media (max-width: 768px) {
	.edit-modal-content {
		max-width: 95%;
		margin: 10px;
	}
	
	.edit-modal-content .modal-footer {
		flex-direction: column;
	}
	
	.modal-btn {
		width: 100%;
	}
	
	.edit-icon {
		width: 28px;
		height: 28px;
	}
	
	.edit-icon svg {
		width: 16px;
		height: 16px;
	}
}
