:root {
  --dashboard-bg: linear-gradient(135deg, rgba(26, 15, 7, 0.95) 0%, rgba(45, 28, 20, 0.95) 50%, rgba(31, 13, 13, 0.95) 100%);
  --card-bg: rgba(30, 20, 15, 0.8);
  --sidebar-bg: rgba(25, 15, 10, 0.9);
  --active-bg: rgba(200, 119, 67, 0.2);
  --hover-bg: rgba(200, 119, 67, 0.1);
  --border-color: rgba(200, 119, 67, 0.15);
  --dark-border: rgba(0, 0, 0, 0.2);
  --text-light: #e9ecef;
  --text-muted: #a3aed0;
  --primary-gradient: linear-gradient(135deg, var(--color-marron), var(--color-rose));
  --secondary-gradient: linear-gradient(135deg, var(--color-vert), var(--color-vert-light));
  --section-spacing: 2rem;
  --card-spacing: 1.5rem;
  --card-radius: 15px;
  --input-bg: rgba(0, 0, 0, 0.2);
  --card-shine: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 100%);
  --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  --glass-effect: blur(10px);
}

.vote-tier-progress {
  margin-top: 10px;
  width: 100%;
}

.vote-tier-bar {
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 5px;
}

.vote-tier-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold-light), var(--color-gold));
  border-radius: 4px;
  transition: width 0.5s ease-out;
}

.vote-tier-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.vote-instructions {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  margin-top: 20px;
}

.vote-instructions h4 {
  color: var(--color-gold);
  margin-bottom: 10px;
}

.vote-instructions p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.verify-vote-btn {
  margin-right: 10px;
}

.vote-confirmation {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  margin-top: 20px;
}

.vote-success-icon {
  font-size: 3rem;
  color: var(--color-success);
  margin-bottom: 15px;
}

.vote-confirmation h4 {
  color: var(--color-gold);
  margin-bottom: 10px;
}

.vote-confirmation p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.vote-details {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.vote-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
}

.vote-detail-label {
  color: var(--text-muted);
}

.vote-detail-value {
  color: var(--text-light);
  font-weight: 500;
}

.confirm-vote-btn {
  margin-right: 10px;
}

.vote-reward {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  margin-top: 20px;
}

.vote-reward-icon {
  font-size: 3rem;
  color: var(--color-gold);
  margin-bottom: 15px;
}

.vote-reward h4 {
  color: var(--color-gold);
  margin-bottom: 10px;
}

.vote-reward p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.vote-reward-details {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.vote-reward-item {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.vote-reward-item .reward-icon {
  font-size: 1.8rem;
  color: var(--color-gold);
  margin-right: 15px;
}

.vote-reward-item .reward-info {
  text-align: left;
}

.vote-reward-item .reward-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold);
}

.vote-reward-item .reward-name {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.vote-summary-update {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
}

.vote-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
}

.vote-summary-label {
  color: var(--text-muted);
}

.vote-summary-value {
  color: var(--text-light);
  font-weight: 500;
}

.vote-loading {
  text-align: center;
  padding: 30px;
}

.vote-loading .spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 15px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top: 4px solid var(--color-gold);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.action-btn {
  background: linear-gradient(to right, var(--color-gold-dark), var(--color-gold));
  color: var(--text-dark);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background: linear-gradient(to right, var(--color-gold), var(--color-gold-light));
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.accounts-preview {
  background: rgba(15, 10, 5, 0.25);
  border-radius: 15px;
  padding: 25px;
  margin-top: 30px;
  border: 1px solid var(--border-color);
}

.preview-title {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 15px;
}

.preview-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 3px;
}

.preview-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preview-item {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.preview-item:hover {
  background: rgba(200, 119, 67, 0.1);
  transform: translateX(5px);
}

.preview-account {
  font-weight: 600;
  color: var(--text-light);
  font-size: 1.05rem;
}

.preview-password {
  color: var(--text-muted);
  font-family: monospace;
  letter-spacing: 1px;
}

.preview-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-edit-btn, 
.preview-remove-btn {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.preview-edit-btn {
  color: var(--color-beige);
}

.preview-edit-btn:hover {
  color: var(--color-rose-light);
  transform: scale(1.1);
}

.preview-remove-btn {
  color: #e74c3c;
}

.preview-remove-btn:hover {
  color: #c0392b;
  transform: scale(1.1);
}

.custom-control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  cursor: pointer;
}

.custom-control-input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.custom-control-input:checked {
  background: var(--color-marron);
  border-color: var(--color-marron);
}

.custom-control-input:checked::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.8rem;
}

.custom-control-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 119, 67, 0.15);
}

.custom-control-label {
  font-weight: 500;
  color: var(--text-light);
  font-size: 1.05rem;
  cursor: pointer;
}

.text-info {
  color: #3498db !important;
}

.account-form-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

@media (max-width: 768px) {
  .account-form-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .vote-reward-details {
      flex-direction: column;
  }
  
  .vote-reward-item {
      width: 100%;
      margin-bottom: 10px;
  }
  
  .action-btn, .secondary-btn {
      width: 100%;
      margin: 5px 0;
  }
}

.dashboard-section {
  min-height: 100vh;
  padding: 120px 0 60px;
  background: var(--dashboard-bg);
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

.dashboard-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjMDAwIj48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDVMNSAwTDUgMUwxIDVMMCAwIiBmaWxsPSIjMTExIj48L3BhdGg+Cjwvc3ZnPg==');
  opacity: 0.03;
  z-index: -1;
}

.dashboard-container {
  display: flex;
  gap: 40px;
  position: relative;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: visible;
}

.dashboard-sidebar {
  width: 300px;
  background: var(--sidebar-bg);
  border-radius: var(--card-radius);
  backdrop-filter: var(--glass-effect);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  padding: 30px;
  position: sticky;
  top: 120px;
  height: auto;
  min-height: calc(100vh - 170px);
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
}

.dashboard-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
}

.user-info {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.user-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid var(--color-marron);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  background-color: var(--dark-border);
}

.user-avatar::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: var(--primary-gradient);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.4;
  animation: pulse-slow 3s infinite;
}

@keyframes pulse-slow {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.user-avatar:hover img {
  transform: scale(1.1);
}

.user-info h3 {
  font-size: 1.6rem;
  color: var(--text-light);
  margin-bottom: 8px;
  background: linear-gradient(to right, var(--color-beige), var(--color-rose-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.user-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex-grow: 1;
  margin-bottom: 15px;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  margin-top: auto;
}

.sidebar-footer .sidebar-link {
  margin-bottom: 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 18px;
  border-radius: 12px;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.sidebar-link i {
  font-size: 1.2rem;
  width: 24px;
  color: var(--color-beige);
  transition: all 0.3s ease;
}

.sidebar-link:hover {
  background: var(--hover-bg);
  transform: translateY(-3px);
  border: 1px solid rgba(200, 119, 67, 0.1);
}

.sidebar-link.active {
  background: var(--active-bg);
  border: 1px solid rgba(200, 119, 67, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--primary-gradient);
  border-radius: 0 4px 4px 0;
}

.sidebar-link.active i {
  color: var(--color-rose-light);
  transform: scale(1.1);
}

.sidebar-link.logout-btn {
margin-top: 0;
color: #e74c3c;
background: rgba(231, 76, 60, 0.1);
border: 1px solid rgba(231, 76, 60, 0.2);
}

.sidebar-link.logout-btn i {
  color: #e74c3c;
}

.sidebar-link.logout-btn:hover {
  background: rgba(231, 76, 60, 0.2);
  transform: translateY(-3px);
}

.dashboard-content {
  flex: 1;
  position: relative;
  max-width: 100%;
  width: 100%;
  overflow: visible;
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: var(--glass-effect);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  border-radius: var(--card-radius);
}

.spinner-container {
  text-align: center;
}

.spinner {
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top: 3px solid var(--color-rose-light);
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
  box-shadow: 0 0 15px rgba(169, 76, 96, 0.2);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spinner-container p {
  color: var(--text-light);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.dashboard-section-content {
  display: none;
}

.dashboard-section-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.section-title {
  font-size: 2.4rem;
  margin-bottom: var(--section-spacing);
  color: var(--color-beige-light);
  position: relative;
  padding-bottom: 15px;
  background: linear-gradient(to right, var(--color-beige), var(--color-rose-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 4px;
}

.dashboard-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  border: 1px solid var(--border-color);
  backdrop-filter: var(--glass-effect);
  box-shadow: var(--card-shadow);
  margin-bottom: 35px;
  overflow: visible;
  transition: all 0.3s ease;
  position: relative;
  width: 100%;
  max-width: 100%;
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--card-shine);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.dashboard-card::before:hover {
  opacity: 1;
}

.card-header {
  padding: 25px 30px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.card-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
}

.card-header h3 {
  margin: 0;
  color: var(--text-light);
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

.card-body {
  padding: 30px;
  position: relative;
  z-index: 1;
}

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

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-light);
  font-weight: 500;
  font-size: 1.05rem;
}

.form-control {
  width: 100%;
  padding: 15px 18px;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-light);
  transition: all 0.3s ease;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-marron);
  box-shadow: 0 0 0 3px rgba(200, 119, 67, 0.15);
}

.form-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.password-input {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.password-toggle:hover {
  color: var(--color-beige);
}

.form-actions {
  margin-top: 35px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

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

.action-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

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

.action-btn:active {
  transform: translateY(0);
}

.result-message {
  padding: 15px 18px;
  border-radius: 12px;
  margin: 20px 0;
  display: block;
  border-left: 4px solid transparent;
  position: relative;
  line-height: 1.5;
}

.result-message.success {
  background: rgba(46, 204, 113, 0.15);
  border-left-color: #2ecc71;
  color: #7aeba9;
}

.result-message.error {
  background: rgba(231, 76, 60, 0.15);
  border-left-color: #e74c3c;
  color: #f1a59a;
}

.result-message.warning {
  background: rgba(241, 196, 15, 0.15);
  border-left-color: #f1c40f;
  color: #f8e187;
}

.result-message::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 10px;
  font-size: 1.2rem;
}

.result-message.success::before {
  content: '\f058';
  color: #2ecc71;
}

.result-message.error::before {
  content: '\f057';
  color: #e74c3c;
}

.result-message.warning::before {
  content: '\f071';
  color: #f1c40f;
}

.result-message br {
  margin-bottom: 5px;
}

.result-message ul {
  margin-top: 8px;
  margin-bottom: 0;
  padding-left: 25px;
}

.profile-info {
  padding: 30px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-marron);
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  background-color: var(--dark-border);
  position: relative;
}

.profile-avatar::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: var(--primary-gradient);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.2;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.profile-avatar:hover img {
  transform: scale(1.1);
}

.profile-details {
  flex: 1;
}

.profile-details h3 {
  margin: 0 0 10px 0;
  color: var(--text-light);
  font-size: 2rem;
  background: linear-gradient(to right, var(--color-beige), var(--color-rose-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.profile-details p {
  color: var(--text-muted);
  margin: 0 0 15px 0;
  font-size: 1.05rem;
}

.profile-badges {
  display: flex;
  gap: 10px;
}

.badge {
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.stat-card {
  background: rgba(15, 10, 5, 0.3);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  border: 1px solid var(--dark-border);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(200, 119, 67, 0.3);
}

.stat-card:hover::after {
  transform: scaleX(1);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.stat-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.stat-name {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.stat-value {
  color: var(--text-light);
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--color-beige-light), var(--color-rose-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.profile-activity {
  background: rgba(15, 10, 5, 0.25);
  border-radius: 15px;
  padding: 25px;
  border: 1px solid var(--dark-border);
}

.profile-activity h4 {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.profile-activity h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 3px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.activity-item:hover {
  transform: translateX(8px);
  background: rgba(200, 119, 67, 0.1);
}

.activity-icon {
  width: 40px;
  height: 40px;
  background: rgba(200, 119, 67, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-marron);
  font-size: 1.2rem;
}

.activity-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.activity-name {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.activity-value {
  color: var(--text-light);
  font-weight: 500;
  font-size: 1.05rem;
}

.accounts-container {
  padding: 30px;
}

.accounts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.accounts-header h3 {
  margin: 0;
  color: var(--text-light);
  font-size: 1.6rem;
  background: linear-gradient(to right, var(--color-beige), var(--color-rose-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.accounts-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-marron);
  color: white;
  border-radius: 20px;
  padding: 5px 15px;
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 30px;
  height: 30px;
}

.accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  perspective: 1000px;
}

.account-card {
  height: 320px;
  position: relative;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.account-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border-radius: 15px;
}

.account-card.flipped .account-card-inner {
  transform: rotateY(180deg);
}

.account-card-front, 
.account-card-chars,
.account-card-char-details {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
  padding: 20px;
  background: rgba(15, 10, 5, 0.3);
  border: 1px solid var(--dark-border);
  display: flex;
  flex-direction: column;
}

.account-card-front {
  background: linear-gradient(135deg, rgba(25, 15, 10, 0.9), rgba(50, 30, 20, 0.9));
  z-index: 1;
}

.account-card-chars {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, rgba(35, 20, 15, 0.9), rgba(20, 15, 10, 0.9));
  z-index: 2;
}

.account-card-char-details {
  transform: rotateY(180deg) translateX(100%);
  background: linear-gradient(135deg, rgba(40, 25, 15, 0.9), rgba(25, 15, 10, 0.9));
  z-index: 0;
  opacity: 0;
  transition: transform 0.6s, opacity 0.6s;
}

.account-card.char-details-active .account-card-chars {
  transform: rotateY(180deg) translateX(-100%);
  opacity: 0;
}

.account-card.char-details-active .account-card-char-details {
  transform: rotateY(180deg) translateX(0);
  opacity: 1;
  z-index: 3;
}

.account-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.account-card-header h4 {
  margin: 0;
  color: var(--text-light);
  font-size: 1.4rem;
  font-weight: 600;
  background: linear-gradient(to right, var(--color-beige-light), var(--color-rose-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card-badge {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card-badge.active {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
}

.card-badge.active::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2ecc71;
}

.card-badge.inactive {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
}

.card-badge.inactive::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #e74c3c;
}

.account-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.account-info-card {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
  flex: 1;
}

.account-info-card p {
  margin: 0 0 12px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-info-card p:last-child {
  margin-bottom: 0;
}

.account-info-card i {
  color: var(--color-beige);
  width: 20px;
  text-align: center;
}

.account-card-actions {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(200, 119, 67, 0.15);
  border: 1px solid rgba(200, 119, 67, 0.3);
  border-radius: 20px;
  color: var(--color-beige);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.card-btn:hover {
  background: rgba(200, 119, 67, 0.25);
  transform: translateY(-3px);
}

.card-btn.primary {
  background: var(--primary-gradient);
  color: white;
  border: none;
}

.card-btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.chars-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.chars-list-header h5 {
  margin: 0;
  color: var(--text-light);
  font-size: 1.1rem;
}

.chars-list-header .server-name {
  padding: 3px 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-chars-list {
  flex: 1;
  overflow-y: auto;
  padding-right: 5px;
  max-height: 200px;
  margin-bottom: 15px;
}

.card-chars-list::-webkit-scrollbar {
  width: 4px;
}

.card-chars-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.card-chars-list::-webkit-scrollbar-thumb {
  background: rgba(200, 119, 67, 0.3);
  border-radius: 4px;
}

.card-char-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.card-char-item:hover {
  background: rgba(200, 119, 67, 0.1);
  transform: translateX(5px);
}

.card-char-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-gradient);
  border-radius: 8px;
  flex-shrink: 0;
}

.card-char-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.card-char-info {
  flex: 1;
}

.card-char-name {
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0 0 3px 0;
}

.card-char-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.card-char-level {
  color: var(--color-rose-light);
}

.card-char-class {
  color: var(--text-muted);
}

.card-nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

.server-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.server-tab-btn {
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--dark-border);
  border-radius: 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.server-tab-btn.active {
  background: rgba(200, 119, 67, 0.2);
  border-color: rgba(200, 119, 67, 0.3);
  color: var(--color-beige);
}

.server-tab-btn:hover {
  background: rgba(200, 119, 67, 0.1);
  transform: translateY(-2px);
}

.no-chars-message {
  text-align: center;
  padding: 30px 0;
  color: var(--text-muted);
}

.char-details-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.char-details-header h5 {
  margin: 0;
  color: var(--text-light);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.char-avatar {
  width: 50px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-gradient);
  border-radius: 8px;
  margin-right: 10px;
}

.char-avatar img {
  height: 50px;
  object-fit: contain;
}

.char-details-body {
  flex: 1;
  overflow-y: auto;
  max-height: 200px;
  padding-right: 10px;
  margin-right: -10px;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}

.char-details-body::-webkit-scrollbar {
  width: 4px;
}

.char-details-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.char-details-body::-webkit-scrollbar-thumb {
  background: rgba(200, 119, 67, 0.3);
  border-radius: 4px;
}

.char-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 15px;
}

.char-stat-item {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
}

.char-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.char-stat-value {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 600;
}

.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

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

.flip-animation {
  animation: flip 0.8s ease-in-out;
}

@keyframes flip {
  0% { transform: rotateY(0); }
  100% { transform: rotateY(180deg); }
}

@media (max-width: 991px) {
  .accounts-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 767px) {
  .accounts-grid {
    grid-template-columns: 1fr;
  }
  
  .account-card {
    height: 340px;
  }
  
  .char-details-body {
    max-height: 170px;
  }
  
  .char-stats-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .account-card-header h4 {
    font-size: 1.2rem;
  }
  
  .card-btn {
    font-size: 0.85rem;
    padding: 8px 12px;
  }
  
  .account-card-front, 
  .account-card-chars,
  .account-card-char-details {
    padding: 15px;
  }
}

.accounts-list {
  display: none;
}

.account-item {
  display: none;
}

[id^="account-details-"] {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  border: 1px solid var(--border-color);
  backdrop-filter: var(--glass-effect);
  box-shadow: var(--card-shadow);
  margin: 0;
  overflow: hidden;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 85%;
  max-width: 1000px;
  max-height: 85vh;
  overflow-y: auto;
  z-index: 1010;
  display: none;
  animation: none !important;
  transition: none !important;
}

.account-card.active-card {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(200, 119, 67, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(200, 119, 67, 0.5);
  }
}

.info-message {
  background: rgba(0, 0, 0, 0.2);
  border-left: 3px solid var(--color-beige);
  padding: 12px 15px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.info-message p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

.info-message i {
  color: var(--color-beige);
  margin-right: 8px;
}

.loading-card {
  background: rgba(15, 10, 5, 0.3);
  border-radius: 15px;
  border: 1px solid var(--dark-border);
  padding: 30px;
  text-align: center;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.loading-card .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top: 3px solid var(--color-rose-light);
  animation: spin 1s linear infinite;
}

.loading-card p {
  color: var(--text-light);
  font-size: 1rem;
  margin: 0;
}

[id^="account-details-"]:hover,
[id^="account-details-"]:active,
[id^="account-details-"]:focus,
[id^="account-details-"].active,
[id^="account-details-"].focused-card {
  transform: translate(-50%, -50%) !important;
  top: 50% !important;
  left: 50% !important;
  position: fixed !important;
  transition: none !important;
  animation: none !important;
  box-shadow: 0 0 40px rgba(200, 119, 67, 0.5) !important;
}

@keyframes zoomIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.account-details-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1020;
  transition: all 0.3s ease;
  border: none;
  color: var(--text-light);
  font-size: 1.2rem;
}

.account-details-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

[id^="account-details-"].active {
  display: block;
}

.focus-mode {
  position: relative;
}

.focus-mode::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 999;
  animation: fadeIn 0.3s ease;
  pointer-events: none;
}

.account-item.focused,
.focused-card {
  position: relative;
  z-index: 1005;
  box-shadow: 0 0 40px rgba(200, 119, 67, 0.5);
}

.focused-card.closing {
  animation: fadeOut 0.2s ease forwards;
}

@keyframes fadeOut {
  from { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 0; transform: translate(-50%, -60%) scale(0.95); }
}

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

.account-details-header {
  padding: 25px 30px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 10, 5, 0.4);
}

.account-details-header h3 {
  margin: 0;
  color: var(--text-light);
  font-size: 1.6rem;
  background: linear-gradient(to right, var(--color-beige), var(--color-rose-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.account-status {
  display: flex;
  gap: 10px;
}

.status-badge {
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.status-badge::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.bg-success {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
}

.bg-success::before {
  background-color: #2ecc71;
}

.bg-danger {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
}

.bg-danger::before {
  background-color: #e74c3c;
}

.vip-badge {
  background: rgba(241, 196, 15, 0.15);
  color: #f1c40f;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.vip-badge::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #f1c40f;
}

.account-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  padding: 25px 30px;
  background: rgba(15, 10, 5, 0.2);
  flex: 0 0 100%;
}

.account-info-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.account-left-column {
  flex: 1;
  min-width: 280px;
  padding: 20px;
}

.account-right-column {
  flex: 2;
  min-width: 400px;
  padding: 20px;
}

.account-info-item {
  background: rgba(15, 10, 5, 0.3);
  border-radius: 12px;
  padding: 15px;
  border: 1px solid var(--dark-border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.account-info-item:hover {
  transform: translateY(-5px);
  background: rgba(200, 119, 67, 0.1);
  border-color: rgba(200, 119, 67, 0.2);
}

.info-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.info-value {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.1rem;
}

.account-action {
  padding: 25px 30px;
  border-top: 1px solid var(--border-color);
  margin-top: 20px;
}

.token-container {
  margin-top: 25px;
  background: rgba(15, 10, 5, 0.3);
  border-radius: 15px;
  padding: 25px;
  border: 1px solid var(--border-color);
  animation: fadeIn 0.5s ease;
}

.token-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.token-header h4 {
  margin: 0;
  color: var(--text-light);
  font-size: 1.3rem;
}

.token-expire {
  color: var(--text-muted);
  font-size: 0.9rem;
  background: rgba(231, 76, 60, 0.1);
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.token-expire::before {
  content: '\f017';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: #e74c3c;
}

.token-value {
  position: relative;
  margin-bottom: 20px;
}

.token-value code {
  display: block;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 20px;
  color: var(--color-rose-light);
  word-break: break-all;
  font-family: monospace;
  font-size: 1.1rem;
  letter-spacing: 1px;
  border: 1px solid rgba(169, 76, 96, 0.2);
}

.copy-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.token-instructions {
  background: rgba(76, 175, 80, 0.1);
  padding: 15px;
  border-radius: 10px;
  border-left: 3px solid #4caf50;
}

.token-instructions p {
  color: #a5d6a7;
  font-size: 0.95rem;
  margin: 0;
}

.characters-container {
  margin-top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.characters-container h4 {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 1.4rem;
  position: relative;
  padding-bottom: 10px;
}

.characters-container h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 3px;
}

.servers-tabs {
  margin-bottom: 30px;
}

.nav-tabs-container {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
  mask-image: linear-gradient(to right, black 90%, transparent 100%);
}

.nav-tabs-container::-webkit-scrollbar {
  height: 6px;
}

.server-tab {
  padding: 10px 18px;
  background: rgba(15, 10, 5, 0.3);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  color: var(--text-light);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.server-tab:hover {
  background: rgba(200, 119, 67, 0.1);
  transform: translateY(-3px);
}

.server-tab.active {
  background: var(--active-bg);
  border-color: rgba(200, 119, 67, 0.3);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.server-tab .character-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  text-align: center;
  font-size: 0.85rem;
}

.characters-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
  margin-top: 15px;
  overscroll-behavior: contain;
}

.character-card {
  background: rgba(15, 10, 5, 0.3);
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--dark-border);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.character-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(200, 119, 67, 0.3);
}

.character-avatar-container {
  height: 100px;
  background: var(--secondary-gradient);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.character-avatar-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjMDAwIj48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDVMNSAwTDUgMUwxIDVMMCAwIiBmaWxsPSIjMTExIj48L3BhdGg+Cjwvc3ZnPg==');
  opacity: 0.1;
  z-index: 0;
}

.character-avatar-container img {
  height: 95%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform 0.5s ease;
}

.character-card:hover .character-avatar-container img {
  transform: scale(1.1);
}

.character-info {
  padding: 20px;
}

.character-info h5 {
  margin: 0 0 12px 0;
  color: var(--text-light);
  font-size: 1.15rem;
}

.character-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.character-level {
  color: var(--color-rose-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.character-level::before {
  content: '\f521';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 0.85rem;
}

.character-class {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.character-class::before {
  content: '\f6e8';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 0.85rem;
  opacity: 0.7;
}

.empty-message {
  background: rgba(15, 10, 5, 0.3);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  border: 1px solid var(--dark-border);
}

.empty-message p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.05rem;
}

.empty-accounts {
  text-align: center;
  padding: 60px 30px;
  animation: fadeIn 0.5s ease;
}

.empty-icon {
  font-size: 4rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  opacity: 0.3;
}

.empty-accounts h4 {
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.empty-accounts p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

.custom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
}

.custom-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  width: 90%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.custom-modal.active .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: 25px 30px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
}

.modal-header h3 {
  margin: 0;
  color: var(--text-light);
  font-size: 1.6rem;
  background: linear-gradient(to right, var(--color-beige), var(--color-rose-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.close-modal:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-body {
  padding: 30px;
}

.character-header {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.character-avatar {
  width: 120px;
  height: 150px;
  background: rgba(15, 10, 5, 0.3);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  position: relative;
  flex-shrink: 0;
}

.character-avatar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--secondary-gradient);
  opacity: 0.7;
  z-index: 0;
}

.character-avatar img {
  height: 95%;
  width: auto;
  position: relative;
  z-index: 1;
}

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

.info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(15, 10, 5, 0.25);
  padding: 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid var(--dark-border);
}

.info-item:hover {
  background: rgba(200, 119, 67, 0.1);
  transform: translateY(-5px);
  border-color: rgba(200, 119, 67, 0.2);
}

.character-stats h4, .character-resources h4 {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 1.4rem;
  position: relative;
  padding-bottom: 10px;
}

.character-stats h4::after, .character-resources h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 3px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-item {
  background: rgba(15, 10, 5, 0.25);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  border: 1px solid var(--dark-border);
}

.stat-item:hover {
  background: rgba(200, 119, 67, 0.1);
  transform: translateY(-5px);
  border-color: rgba(200, 119, 67, 0.2);
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(200, 119, 67, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-marron);
  font-size: 1.3rem;
}

.stat-detail {
  display: flex;
  flex-direction: column;
}

.stat-name {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.stat-value {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.2rem;
}

.character-resources {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 20px;
}

.resource-item {
  background: rgba(15, 10, 5, 0.25);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  border: 1px solid var(--dark-border);
}

.resource-item:hover {
  background: rgba(200, 119, 67, 0.1);
  transform: translateY(-5px);
  border-color: rgba(200, 119, 67, 0.2);
}

.resource-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(200, 119, 67, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-marron);
  font-size: 1.3rem;
}

.resource-detail {
  display: flex;
  flex-direction: column;
}

.resource-name {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.resource-value {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.2rem;
}

.vitalite-icon::after {
  content: '\f004';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.force-icon::after {
  content: '\f6cb';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.intel-icon::after {
  content: '\f5da';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.chance-icon::after {
  content: '\f522';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.agi-icon::after {
  content: '\f70c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.sag-icon::after {
  content: '\f19d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.kamas-icon::after {
  content: '\f51e';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.energy-icon::after {
  content: '\f0e7';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.health-icon::after {
  content: '\f21e';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.honor-icon::after {
  content: '\f559';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.vote-status {
  padding: 30px;
  overflow: visible;
  max-width: 100%;
}

.vote-summary {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.vote-stat {
  background: rgba(15, 10, 5, 0.3);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  border: 1px solid var(--dark-border);
  position: relative;
}

.vote-stat::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-vert), var(--color-vert-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.vote-stat:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(123, 101, 46, 0.3);
}

.vote-stat:hover::after {
  transform: scaleX(1);
}

.vote-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-vert), var(--color-vert-light));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.vote-info {
  display: flex;
  flex-direction: column;
}

.vote-label {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 5px;
}

.vote-value {
  color: var(--text-light);
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--color-beige-light), var(--color-rose-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vote-timer-container {
  background: rgba(15, 10, 5, 0.25);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  margin-bottom: 40px;
  border: 1px solid var(--dark-border);
  position: relative;
  overflow: hidden;
}

.vote-timer-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(231, 76, 60, 0.03);
  background-image: radial-gradient(circle, rgba(231, 76, 60, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
  animation: rotate 120s linear infinite;
  z-index: 0;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vote-timer-container h4 {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
}

.vote-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: relative;
  z-index: 1;
}

.timer-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer-value {
  display: inline-block;
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-light);
  font-size: 2.2rem;
  font-weight: 700;
  padding: 15px;
  border-radius: 12px;
  min-width: 80px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(231, 76, 60, 0.2);
}

.timer-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
  font-weight: 500;
}

.timer-divider {
  color: var(--text-light);
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: -8px;
}

.vote-ready-container {
  background: rgba(15, 10, 5, 0.25);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  margin-bottom: 40px;
  border: 1px solid var(--dark-border);
  position: relative;
  overflow: hidden;
}

.vote-ready-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(46, 204, 113, 0.03);
  background-image: radial-gradient(circle, rgba(46, 204, 113, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
  animation: rotate 120s linear infinite;
  z-index: 0;
}

.vote-ready-container h4 {
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 1.8rem;
  position: relative;
  z-index: 1;
  background: linear-gradient(to right, var(--color-beige), var(--color-vert-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vote-ready-container p {
  color: var(--text-muted);
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
}

.vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: linear-gradient(45deg, var(--color-vert), var(--color-vert-light));
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  overflow: hidden;
}

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

.vote-btn:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  color: white;
}

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

.vote-rewards {
  padding: 0 30px 30px 30px;
}

.vote-rewards h4 {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 1.4rem;
  position: relative;
  padding-bottom: 10px;
}

.vote-rewards h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 3px;
}

.rewards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 25px;
}

.reward-item {
  background: rgba(15, 10, 5, 0.25);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  border: 1px solid var(--dark-border);
  position: relative;
  overflow: hidden;
}

.reward-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(241, 196, 15, 0) 0%, rgba(241, 196, 15, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.reward-item:hover {
  transform: translateY(-8px);
  border-color: rgba(241, 196, 15, 0.3);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.reward-item:hover::before {
  opacity: 1;
}

.reward-icon {
  width: 50px;
  height: 50px;
  background: rgba(241, 196, 15, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f1c40f;
  font-size: 1.5rem;
}

.reward-info {
  display: flex;
  flex-direction: column;
}

.reward-name {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.reward-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.d-flex {
  display: flex;
}

.d-none {
  display: none;
}

.bg-primary {
  background-color: rgba(52, 152, 219, 0.2);
  color: #3498db;
}

.bg-danger {
  background-color: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}

.bg-warning {
  background-color: rgba(241, 196, 15, 0.2);
  color: #f1c40f;
}

@media (max-width: 1100px) {
  .dashboard-container {
    flex-direction: column;
  }
  
  .dashboard-sidebar {
    width: 100%;
    position: relative;
    top: 0;
    height: auto;
    margin-bottom: 40px;
  }
  
  .user-info {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 20px;
    padding-bottom: 20px;
  }
  
  .user-avatar {
    margin: 0;
  }
  
  .sidebar-footer {
    border-top: none;
    padding-top: 0;
    margin-top: 15px;
  }
  
  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    overflow-x: hidden;
  }
  
  .sidebar-link {
    flex: 1;
    min-width: 200px;
    justify-content: center;
  }
  
  .sidebar-link:hover {
    transform: translateY(-3px);
  }
  
  .sidebar-link.logout-btn {
    margin-top: 0;
  }
}

@media (max-width: 992px) {
  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }
  
  .profile-details {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .profile-badges {
    justify-content: center;
  }
  
  .section-title {
    font-size: 2rem;
    text-align: center;
  }
  
  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .account-details-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .account-status {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .dashboard-section {
    padding: 100px 0 50px;
  }
  
  .user-info {
    flex-direction: column;
    text-align: center;
  }
  
  .sidebar-link {
    justify-content: flex-start;
    width: 100%;
  }
  
  .token-value code {
    font-size: 0.9rem;
    padding: 15px;
  }
  
  .character-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  
  .character-avatar {
    margin: 0 auto;
  }
  
  .character-basic-info {
    width: 100%;
    grid-template-columns: 1fr;
  }
  
  .vote-timer-container {
    padding: 20px 15px;
  }
  
  .timer-value {
    font-size: 1.8rem;
    min-width: 60px;
    padding: 10px;
  }
  
  .character-stats h4::after, .character-resources h4::after, .vote-rewards h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .character-stats h4, .character-resources h4, .vote-rewards h4 {
    text-align: center;
  }

  [id^="account-details-"] {
    margin-left: 0;
  }
}

.subscription-info {
  margin-bottom: 30px;
}

.subscription-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.subscription-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.accounts-selection, .subscription-options {
  background: rgba(15, 10, 5, 0.25);
  border-radius: 15px;
  padding: 25px;
  border: 1px solid var(--dark-border);
}

.accounts-selection h4, .subscription-options h4, .subscription-summary h4, .payment-method h4 {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.accounts-selection h4::after, .subscription-options h4::after, .subscription-summary h4::after, .payment-method h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 3px;
}

.subscription-accounts-list {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 10px;
  margin-top: 20px;
}

.subscription-accounts-list::-webkit-scrollbar {
  width: 4px;
}

.subscription-accounts-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.subscription-accounts-list::-webkit-scrollbar-thumb {
  background: rgba(200, 119, 67, 0.3);
  border-radius: 4px;
}

.account-subscription-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.account-subscription-item:hover {
  background: rgba(200, 119, 67, 0.1);
  transform: translateY(-3px);
}

.account-checkbox {
  position: relative;
}

.account-checkbox input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.account-checkbox input:checked {
  background: var(--color-marron);
  border-color: var(--color-marron);
}

.account-checkbox input:checked::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.8rem;
}

.account-info {
  flex: 1;
}

.account-name {
  font-weight: 600;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 5px;
}

.account-status {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.account-status.subscribed {
  color: var(--color-success);
}

.account-status.expired {
  color: var(--color-danger);
}

.subscription-duration {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.subscription-option input, .payment-option input {
  display: none;
}

.duration-label, .payment-label {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--dark-border);
  cursor: pointer;
  transition: all 0.3s ease;
  height: 100%;
}

.duration-label:hover, .payment-label:hover {
  background: rgba(200, 119, 67, 0.1);
  transform: translateY(-3px);
}

.subscription-option input:checked + .duration-label,
.payment-option input:checked + .payment-label {
  background: rgba(200, 119, 67, 0.2);
  border-color: rgba(200, 119, 67, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.option-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(200, 119, 67, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-marron);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.option-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.option-title {
  font-weight: 600;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 5px;
}

.option-price {
  color: var(--color-gold);
  font-size: 0.95rem;
}

.option-price-tokens {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.payment-method {
  margin-top: 30px;
}

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

.subscription-summary {
  background: rgba(15, 10, 5, 0.25);
  border-radius: 15px;
  padding: 25px;
  border: 1px solid var(--border-color);
  margin-top: 30px;
}

.subscription-summary-content {
  margin-bottom: 25px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.summary-label {
  color: var(--text-muted);
  font-size: 1rem;
}

.summary-value {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.05rem;
}

.summary-item.total {
  margin-top: 15px;
  padding-top: 20px;
  border-top: 2px solid rgba(200, 119, 67, 0.2);
}

.summary-item.total .summary-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-light);
}

.summary-item.total .summary-value {
  font-size: 1.4rem;
  color: var(--color-gold);
}

@media (max-width: 991px) {
  .subscription-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .subscription-duration, .payment-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .dashboard-container {
    padding: 0 15px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .profile-stats, .account-info-grid, .stats-grid, .character-resources, .vote-summary, .rewards-container, .subscription-stats {
    grid-template-columns: 1fr;
  }
  
  .card-header {
    padding: 20px;
  }
  
  .card-body, .profile-info, .accounts-container, .vote-status {
    padding: 20px;
  }
  
  .vote-timer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .timer-divider {
    display: none;
  }
  
  .action-btn, .vote-btn {
    width: 100%;
    justify-content: center;
  }
}
