/*--------------------------------------------------------------
/* ibuluxe - Account Page Styles
--------------------------------------------------------------*/

/*--------------------------------------------------------------
/** ACCOUNT PAGE LAYOUT
--------------------------------------------------------------*/
.account-page {
  background-color: #f5f5f5;
  min-height: 100vh;
}

/* Account Header */
.account-header {
  background: var(--dark-color);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.account-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.account-header .logo img {
  height: 40px;
}

.account-header .header-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.account-header .header-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.account-header .header-nav a:hover {
  color: var(--accent-color);
}

.account-header .cart-link {
  position: relative;
}

.account-header .cart-count {
  position: absolute;
  top: -8px;
  right: -12px;
  background: var(--accent-color);
  color: var(--dark-color);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Account Main */
.account-main {
  padding: 30px 0;
  min-height: calc(100vh - 70px);
}

/*--------------------------------------------------------------
/** AUTH LOADING STATE
--------------------------------------------------------------*/
.auth-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.loading-content {
  text-align: center;
}

.loading-spinner {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.loading-spinner i {
  font-size: 36px;
  color: var(--accent-color);
}

.loading-content p {
  font-size: 15px;
  color: var(--light-text-color);
  margin: 0;
}

/*--------------------------------------------------------------
/** AUTH REQUIRED STATE
--------------------------------------------------------------*/
.auth-required {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.auth-required-content {
  text-align: center;
  max-width: 450px;
  padding: 60px 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.auth-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #e8c55d 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.auth-icon i {
  font-size: 45px;
  color: #fff;
}

.auth-required h2 {
  font-family: var(--heading-font);
  font-size: 28px;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.auth-required p {
  color: var(--light-text-color);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.auth-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.auth-buttons .btn {
  min-width: 160px;
}

/*--------------------------------------------------------------
/** ACCOUNT DASHBOARD LAYOUT
--------------------------------------------------------------*/
.account-dashboard {
  animation: fadeIn 0.3s ease;
}

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

.account-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 25px;
  align-items: start;
}

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

/*--------------------------------------------------------------
/** ACCOUNT SIDEBAR
--------------------------------------------------------------*/
.account-sidebar {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  position: sticky;
  top: 100px;
}

@media (max-width: 991px) {
  .account-sidebar {
    position: static;
  }
}

/* User Profile Card */
.user-profile-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
  border-bottom: 1px solid #eee;
}

.user-avatar {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-avatar i {
  font-size: 22px;
  color: #fff;
}

.user-info .greeting {
  font-size: 12px;
  color: var(--light-text-color);
  display: block;
}

.user-info .user-name {
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-color);
  margin: 0;
}

/* Account Navigation */
.account-nav {
  padding: 15px 0;
}

.nav-section {
  margin-bottom: 10px;
}

.nav-section:last-child {
  margin-bottom: 0;
}

.nav-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-section-header i {
  color: var(--accent-color);
  font-size: 16px;
}

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

.nav-list li .nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 12px 48px;
  color: var(--body-text-color);
  font-size: 14px;
  transition: all 0.2s ease;
}

.nav-list li .nav-link:hover {
  background: #f8f8f8;
  color: var(--accent-color);
}

.nav-list li .nav-link.active {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
  color: var(--accent-color);
  border-left: 3px solid var(--accent-color);
  padding-left: 45px;
  font-weight: 500;
}

.nav-list li .nav-link i {
  font-size: 10px;
  color: #ccc;
}

.nav-list li .nav-link.active i,
.nav-list li .nav-link:hover i {
  color: var(--accent-color);
}

/* Logout Section */
.logout-section {
  border-top: 1px solid #eee;
  padding-top: 10px;
  margin-top: 10px;
}

.logout-section .nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  color: #dc3545;
  font-size: 14px;
  font-weight: 500;
}

.logout-section .nav-link:hover {
  background: rgba(220, 53, 69, 0.05);
}

.logout-section .nav-link i {
  font-size: 16px;
}

/*--------------------------------------------------------------
/** ACCOUNT CONTENT
--------------------------------------------------------------*/
.account-content {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  min-height: 500px;
}

.content-section {
  padding: 25px 30px;
  animation: slideIn 0.3s ease;
}

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

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.section-header h2 {
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-color);
  margin: 0;
}

.btn-edit {
  background: none;
  border: none;
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 5px 10px;
}

.btn-edit:hover {
  text-decoration: underline;
}

/*--------------------------------------------------------------
/** PROFILE SECTION
--------------------------------------------------------------*/
.profile-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 576px) {
  .profile-form .form-row {
    grid-template-columns: 1fr;
  }
}

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

.profile-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--body-text-color);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-form .form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  background: #f8f8f8;
  color: var(--dark-color);
  transition: all 0.2s ease;
}

.profile-form .form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  background: #fff;
}

.profile-form .form-control:disabled {
  background: #f5f5f5;
  color: var(--body-text-color);
  cursor: not-allowed;
}

.profile-form .form-control.editable {
  background: #fff;
}

/* Gender Options */
.gender-options {
  display: flex;
  gap: 25px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-color);
}

.radio-option input[type="radio"]:disabled {
  cursor: not-allowed;
}

.radio-option span {
  font-size: 14px;
  color: var(--body-text-color);
}

/* Input with Action */
.input-with-action {
  position: relative;
}

.verified-badge {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--success-color);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

/* Section FAQ */
.section-faq {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.section-faq h3 {
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-item h4 {
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 13px;
  color: var(--light-text-color);
  line-height: 1.6;
  margin: 0;
}

.section-description {
  font-size: 14px;
  color: var(--light-text-color);
  margin-bottom: 25px;
  line-height: 1.6;
}

/*--------------------------------------------------------------
/** ORDERS SECTION
--------------------------------------------------------------*/
.orders-filter {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.search-orders {
  position: relative;
}

.search-orders i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--light-text-color);
}

.search-orders input {
  width: 100%;
  padding: 12px 15px 12px 45px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
}

.search-orders input:focus {
  outline: none;
  border-color: var(--accent-color);
}

.filter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  background: #fff;
  font-size: 13px;
  color: var(--body-text-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.filter-btn.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

/* Order Card */
.order-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.order-id {
  font-size: 13px;
  color: var(--light-text-color);
}

.order-status {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.order-status.delivered {
  background: #e8f5e9;
  color: #2e7d32;
}

.order-status.processing {
  background: #fff3e0;
  color: #ef6c00;
}

.order-status.cancelled {
  background: #ffebee;
  color: #c62828;
}

/*--------------------------------------------------------------
/** ADDRESSES SECTION
--------------------------------------------------------------*/
.addresses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.address-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  position: relative;
  transition: all 0.2s ease;
}

.address-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.address-card.add-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  border-style: dashed;
  cursor: pointer;
  color: var(--accent-color);
}

.address-card.add-card i {
  font-size: 32px;
  margin-bottom: 10px;
}

.address-card.add-card span {
  font-size: 14px;
  font-weight: 500;
}

.address-card.add-card:hover {
  background: rgba(212, 175, 55, 0.05);
}

.address-type-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  background: #f0f0f0;
  color: var(--body-text-color);
  margin-bottom: 10px;
}

.address-type-badge.home {
  background: #e3f2fd;
  color: #1565c0;
}

.address-type-badge.work {
  background: #fce4ec;
  color: #c2185b;
}

.address-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--dark-color);
  margin-bottom: 8px;
}

.address-text {
  font-size: 13px;
  color: var(--body-text-color);
  line-height: 1.6;
  margin-bottom: 10px;
}

.address-phone {
  font-size: 13px;
  color: var(--body-text-color);
}

.address-actions {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.address-actions button {
  background: none;
  border: none;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

.address-actions .edit-btn {
  color: var(--accent-color);
}

.address-actions .delete-btn {
  color: #dc3545;
}

.default-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 600;
  color: var(--success-color);
}

/* Address Form Modal */
.address-form-modal,
.occasion-form-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.address-form-modal .modal-content,
.occasion-form-modal .modal-content {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 550px;
  max-height: 90vh;
  overflow-y: auto;
}

.address-form-modal .modal-header,
.occasion-form-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  border-bottom: 1px solid #eee;
}

.address-form-modal .modal-header h3,
.occasion-form-modal .modal-header h3 {
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.address-form-modal .close-btn,
.occasion-form-modal .close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--light-text-color);
  cursor: pointer;
}

.address-form-modal form,
.occasion-form-modal form {
  padding: 25px;
}

.address-form-modal .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

@media (max-width: 576px) {
  .address-form-modal .form-row {
    grid-template-columns: 1fr;
  }
}

.address-form-modal .form-group,
.occasion-form-modal .form-group {
  margin-bottom: 18px;
}

.address-form-modal label,
.occasion-form-modal label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--body-text-color);
  margin-bottom: 6px;
}

.address-form-modal .form-control,
.occasion-form-modal .form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
}

.address-form-modal .form-control:focus,
.occasion-form-modal .form-control:focus {
  outline: none;
  border-color: var(--accent-color);
}

.address-type-options {
  display: flex;
  gap: 20px;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-color);
}

/*--------------------------------------------------------------
/** PAYMENT SECTION
--------------------------------------------------------------*/
.payment-section {
  margin-bottom: 30px;
}

.payment-section:last-child {
  margin-bottom: 0;
}

.payment-section h3 {
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.payment-section h3 i {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
/** WISHLIST SECTION
--------------------------------------------------------------*/
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.wishlist-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.wishlist-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wishlist-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.wishlist-item-info {
  padding: 15px;
}

.wishlist-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-color);
  margin-bottom: 5px;
}

.wishlist-item-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
/** REFERRALS SECTION
--------------------------------------------------------------*/
.referral-banner {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px;
  background: linear-gradient(135deg, #fff8e1 0%, #fff3c4 100%);
  border-radius: 12px;
  margin-bottom: 30px;
}

.referral-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.referral-icon i {
  font-size: 35px;
  color: #fff;
}

.referral-info h3 {
  font-family: var(--body-font);
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 8px;
}

.referral-info p {
  font-size: 14px;
  color: var(--body-text-color);
  margin: 0;
}

.referral-code-box {
  margin-bottom: 25px;
}

.referral-code-box label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--light-text-color);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.code-display {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: #f5f5f5;
  border-radius: 8px;
  border: 2px dashed var(--accent-color);
}

.code-display span {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-color);
  letter-spacing: 2px;
  flex: 1;
}

.copy-btn {
  padding: 8px 16px;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.copy-btn:hover {
  background: var(--accent-color-dark);
}

.share-options {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.share-options span {
  font-size: 14px;
  color: var(--body-text-color);
}

.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.share-btn:hover {
  transform: scale(1.1);
}

.share-btn i {
  font-size: 18px;
  color: #fff;
}

.share-btn.whatsapp {
  background: #25d366;
}

.share-btn.facebook {
  background: #1877f2;
}

.share-btn.twitter {
  background: #1da1f2;
}

.share-btn.email {
  background: #ea4335;
}

.referral-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 576px) {
  .referral-stats {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  text-align: center;
  padding: 25px;
  background: #f8f8f8;
  border-radius: 12px;
}

.stat-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 13px;
  color: var(--light-text-color);
}

/*--------------------------------------------------------------
/** EMPTY STATES
--------------------------------------------------------------*/
.empty-state {
  text-align: center;
  padding: 60px 30px;
}

.empty-state.small {
  padding: 30px 20px;
}

.empty-state i {
  font-size: 60px;
  color: #ddd;
  margin-bottom: 20px;
}

.empty-state.small i {
  font-size: 40px;
}

.empty-state h3 {
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.empty-state p {
  font-size: 14px;
  color: var(--light-text-color);
  margin-bottom: 20px;
}

.empty-state .hint {
  display: block;
  font-size: 12px;
  color: #bbb;
  margin-top: 5px;
}

.empty-state .btn {
  margin-top: 10px;
}

/*--------------------------------------------------------------
/** BUTTONS
--------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

.btn-primary:hover {
  background: var(--accent-color-dark);
  border-color: var(--accent-color-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-outline:hover {
  background: var(--accent-color);
  color: #fff;
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

/*--------------------------------------------------------------
/** MODAL STYLES (Auth)
--------------------------------------------------------------*/
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 30px 20px;
  border-bottom: 1px solid #eee;
}

.modal-header h3 {
  font-family: var(--body-font);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-header h3 i {
  color: var(--accent-color);
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--light-text-color);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--dark-color);
}

.modal-body {
  padding: 25px 30px 30px;
}

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

.modal-body label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--body-text-color);
  margin-bottom: 8px;
}

.modal-body .form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.modal-body .form-control:focus {
  outline: none;
  border-color: var(--accent-color);
}

.password-input {
  position: relative;
}

.password-input .form-control {
  padding-right: 50px;
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--light-text-color);
  cursor: pointer;
}

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

.forgot-link {
  font-size: 13px;
  color: var(--accent-color);
}

.modal-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.modal-footer p {
  font-size: 14px;
  color: var(--body-text-color);
  margin: 0;
}

.modal-footer a {
  color: var(--accent-color);
  font-weight: 600;
}

/* Form Error */
.form-error {
  background: #ffebee;
  color: #c62828;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 20px;
  display: none;
}

.form-error.show {
  display: block;
}

/* Password Requirements */
.password-requirements {
  margin-top: 12px;
}

.password-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.password-checklist li {
  font-size: 12px;
  color: var(--light-text-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

.password-checklist li i {
  font-size: 6px;
}

.password-checklist li.valid {
  color: var(--success-color);
}

.password-checklist li.valid i::before {
  content: "\f00c";
  font-size: 10px;
}

/*--------------------------------------------------------------
/** MOBILE NAVIGATION
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .account-sidebar {
    order: 2;
  }
  
  .account-content {
    order: 1;
  }
  
  /* Mobile Tabs */
  .mobile-nav-tabs {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    -webkit-overflow-scrolling: touch;
  }
  
  .mobile-nav-tabs::-webkit-scrollbar {
    display: none;
  }
  
  .mobile-nav-tab {
    flex-shrink: 0;
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    color: var(--body-text-color);
    background: #fff;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
  }
  
  .mobile-nav-tab.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
  }
  
  .account-sidebar {
    display: none;
  }
  
  .account-layout {
    display: block;
  }
  
  .mobile-nav {
    display: block;
    margin-bottom: 20px;
  }
}

@media (min-width: 992px) {
  .mobile-nav {
    display: none;
  }
}

@media (max-width: 576px) {
  .content-section {
    padding: 20px;
  }
  
  .referral-banner {
    flex-direction: column;
    text-align: center;
  }
  
  .referral-info h3 {
    font-size: 18px;
  }
  
  .share-options {
    flex-direction: column;
  }
  
  .auth-required-content {
    padding: 40px 25px;
  }
  
  .auth-buttons {
    flex-direction: column;
  }
  
  .auth-buttons .btn {
    width: 100%;
  }
}

/*--------------------------------------------------------------
/** TOAST STYLES (for this page)
--------------------------------------------------------------*/
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10002;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.toast {
  background: var(--dark-color);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  max-width: 450px;
  pointer-events: auto;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.toast-error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.toast-icon {
  font-size: 18px;
}

.toast-message {
  flex: 1;
  font-size: 14px;
}

.toast-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 4px;
}
