/* ============================================
   ACCOUNT SECTION - COMMON STYLES
   Color: #3C7F9A
   ============================================ */

/* ============================================
   DASHBOARD
   ============================================ */

.dashboard {
  line-height: 22px;
}

.dashboard .panel-default {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.dashboard .panel-heading {
  padding: 12px 15px;
  background: linear-gradient(135deg, #3C7F9A 0%, #2d6175 100%);
  color: #fff;
  border-radius: 6px 6px 0 0;
  font-weight: 600;
}

/* Stat Tiles */
.dashboard .tile {
  border-radius: 6px;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease;
}

.dashboard .tile:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.dashboard .tile-one {
  border: 1px solid #e8e8e8;
}

.dashboard .dash-cols .tile-heading {
  padding: 20px 15px;
  background: #f8f9fa;
  border-right: 1px solid #e8e8e8;
}

.dashboard .tile-heading i {
  font-size: 32px;
  color: #3C7F9A;
}

.dashboard .tile-heading span {
  display: block;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  letter-spacing: 0.3px;
}

.dashboard .tile .tile-body {
  padding: 15px;
  text-align: center;
}

.dashboard .tile .tile-body h1 {
  margin: 5px 0;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  color: #888;
}

.dashboard .tile .tile-body h2 {
  font-size: 36px;
  margin: 10px 0;
  color: #333;
  font-weight: 700;
  line-height: 1;
}

.dashboard .view-all {
  padding: 8px 0;
  border-top: 1px solid #f0f0f0;
}

.dashboard .view-all a {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  color: #3C7F9A;
  transition: color 0.2s ease;
}

.dashboard .view-all a:hover {
  color: #2d6175;
}

.dashboard .flex {
  display: flex;
  align-items: stretch;
}

/* Profile Section */
.profile-section {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}

.profile-section .user-image {
  text-align: center;
  padding: 30px 15px 20px;
}

.profile-section .user-image img,
.profile-section .avatara img {
  border-radius: 50%;
  border: 3px solid #3C7F9A;
  box-shadow: 0 2px 10px rgba(60,127,154,0.25);
}

.profile-section .user-name {
  text-align: center;
}

.profile-section .user-name span {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.profile-section .info {
  font-size: 14px;
  color: #888;
  text-align: center;
  margin-bottom: 20px;
}

.profile-links {
  display: flex;
  border-top: 1px solid #e8e8e8;
}

.profile-links a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background: #f8f9fa;
  color: #666;
  text-decoration: none;
  transition: all 0.2s ease;
}

.profile-links a + a {
  border-left: 1px solid #e8e8e8;
}

.profile-links a:hover {
  background: linear-gradient(135deg, #3C7F9A 0%, #2d6175 100%);
  color: #fff;
}

.profile-links a i {
  font-size: 20px;
}

/* Account Links */
.account-links {
  list-style: none;
  padding: 0;
  margin: 0 -10px;
}

.account-links li {
  margin-bottom: 15px;
  text-align: center;
  padding: 0 10px;
}

.account-links li a {
  display: block;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 20px 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.account-links li a:hover {
  border-color: #3C7F9A;
  box-shadow: 0 4px 12px rgba(60,127,154,0.2);
  transform: translateY(-2px);
}

.account-links li .icon {
  display: block;
  margin-bottom: 10px;
}

.account-links li i {
  font-size: 28px;
  color: #3C7F9A;
  transition: transform 0.2s ease;
}

.account-links li a:hover i {
  transform: scale(1.1);
}

.account-links li span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

/* Orders Table */
.grey-table {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.grey-table h3 {
  margin: 0;
  padding: 15px 20px;
  background: linear-gradient(135deg, #3C7F9A 0%, #2d6175 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.grey-table h3 a {
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 500;
}

.grey-table h3 a:hover {
  color: #fff;
}

.grey-table .table {
  margin: 0;
}

.grey-table .table th {
  background: #f8f9fa;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  color: #666;
  padding: 12px 15px;
  border-bottom: 1px solid #e8e8e8;
}

.grey-table .table td {
  padding: 12px 15px;
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f0;
}

.grey-table .table tbody tr:hover {
  background: #f8f9fa;
}

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

.grey-table .btn {
  padding: 6px 12px;
  border-radius: 4px;
}

/* ============================================
   SIDEBAR
   ============================================ */

.account-sidebar {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 1px solid #e8e8e8;
}

.account-sidebar .sidebar-header {
  background: linear-gradient(135deg, #3C7F9A 0%, #2d6175 100%);
  color: #fff;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-sidebar .sidebar-header i {
  font-size: 18px;
  opacity: 0.9;
}

.account-sidebar .sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.account-sidebar .sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #555;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.account-sidebar .sidebar-nav a:hover {
  background: #f8f9fa;
  color: #3C7F9A;
  border-left-color: #3C7F9A;
}

.account-sidebar .sidebar-nav a.active {
  background: rgba(60, 127, 154, 0.08);
  color: #3C7F9A;
  border-left-color: #3C7F9A;
  font-weight: 600;
}

.account-sidebar .sidebar-nav a i {
  width: 20px;
  text-align: center;
  font-size: 16px;
  color: #888;
  transition: color 0.2s ease;
}

.account-sidebar .sidebar-nav a:hover i,
.account-sidebar .sidebar-nav a.active i {
  color: #3C7F9A;
}

.account-sidebar .sidebar-nav .divider {
  height: 1px;
  background: #eee;
  margin: 8px 20px;
}

.account-sidebar .sidebar-nav a.logout-link {
  color: #dc3545;
}

.account-sidebar .sidebar-nav a.logout-link i {
  color: #dc3545;
}

.account-sidebar .sidebar-nav a.logout-link:hover {
  background: #fff5f5;
  border-left-color: #dc3545;
}

/* Hide old list-group styles */
.list-group.modify {
  display: none;
}

/* ============================================
   EDIT PROFILE PAGE
   ============================================ */

.edit-profile {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid #e8e8e8;
  overflow: hidden;
  margin-bottom: 30px;
}

.edit-profile .page-header {
  background: linear-gradient(135deg, #3C7F9A 0%, #2d6175 100%);
  color: #fff !important;
  padding: 24px 30px;
  margin: 0;
}

.edit-profile .page-header h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #fff !important;
}

.edit-profile .page-header p {
  margin: 5px 0 0;
  opacity: 0.85;
  font-size: 14px;
  color: rgba(255,255,255,0.85) !important;
}

.edit-profile .form-body {
  padding: 30px;
}

/* Avatar Section */
.avatar-section {
  text-align: center;
  padding: 30px;
  background: #f8f9fa;
  border-bottom: 1px solid #e8e8e8;
}

.avatar-section .avatara {
  display: inline-block;
  margin-bottom: 15px;
}

.avatar-section .avatara img {
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 15px rgba(60,127,154,0.25);
}

.avatar-section .btn-upload {
  background: linear-gradient(135deg, #3C7F9A 0%, #2d6175 100%);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.avatar-section .btn-upload:hover {
  background: #2d6175;
  transform: translateY(-1px);
}

.avatar-section .btn-upload i {
  margin-right: 8px;
}

/* Form Styling */
.edit-profile .form-section {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.edit-profile .form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.edit-profile .section-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3C7F9A;
  display: inline-block;
}

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

.edit-profile .form-group label {
  display: block;
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
  font-size: 14px;
}

.edit-profile .form-group label .required {
  color: #dc3545;
  margin-left: 3px;
}

.edit-profile .form-control {
  height: 46px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 15px;
  transition: all 0.2s ease;
  width: 100%;
}

.edit-profile .form-control:focus {
  border-color: #3C7F9A;
  box-shadow: 0 0 0 3px rgba(60,127,154,0.15);
  outline: none;
}

.edit-profile textarea.form-control {
  height: auto;
  min-height: 100px;
}

.edit-profile .text-danger {
  color: #dc3545;
  font-size: 13px;
  margin-top: 5px;
}

.edit-profile .input-group {
  display: flex;
}

.edit-profile .input-group .form-control {
  border-radius: 6px 0 0 6px;
}

.edit-profile .input-group-addon {
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-left: none;
  border-radius: 0 6px 6px 0;
  padding: 0 15px;
  display: flex;
  align-items: center;
  color: #666;
}

/* Form Actions */
.edit-profile .form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #e8e8e8;
  margin-top: 30px;
}

/* Global Button Styles - Back & Save */
.btn-back,
a.btn-back,
button.btn-back,
.form-actions .btn-back,
.form-actions a.btn-back,
.account-page .btn-back,
.account-page a.btn-back,
.edit-profile .btn-back,
.edit-profile a.btn-back {
  background: #f8f9fa !important;
  color: #555 !important;
  border: 1px solid #ddd !important;
  padding: 12px 24px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  line-height: 1 !important;
}

.btn-back:hover,
a.btn-back:hover,
button.btn-back:hover,
.form-actions .btn-back:hover,
.form-actions a.btn-back:hover,
.account-page .btn-back:hover,
.account-page a.btn-back:hover {
  background: #eee !important;
  color: #333 !important;
  text-decoration: none !important;
}

.btn-save,
a.btn-save,
button.btn-save,
.form-actions .btn-save,
.form-actions a.btn-save,
.account-page .btn-save,
.account-page a.btn-save,
.edit-profile .btn-save,
.edit-profile button.btn-save {
  background: linear-gradient(135deg, #3C7F9A 0%, #2d6175 100%) !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 30px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(60,127,154,0.3) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  line-height: 1 !important;
}

.btn-save:hover,
a.btn-save:hover,
button.btn-save:hover,
.form-actions .btn-save:hover,
.form-actions a.btn-save:hover,
.account-page .btn-save:hover,
.account-page a.btn-save:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(60,127,154,0.4) !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* Two Column Layout */
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

/* Alert styling */
.edit-profile-alert {
  margin: 20px;
  padding: 15px 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.edit-profile-alert.alert-danger {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  color: #c53030;
}

/* ============================================
   COMMON ACCOUNT PAGE STYLES
   ============================================ */

.account-page {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid #e8e8e8;
  overflow: hidden;
  margin-bottom: 30px;
}

.account-page .page-header {
  background: linear-gradient(135deg, #3C7F9A 0%, #2d6175 100%);
  color: #fff !important;
  padding: 24px 30px;
  margin: 0;
}

.account-page .page-header h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #fff !important;
}

.account-page .page-header p {
  margin: 5px 0 0;
  opacity: 0.85;
  font-size: 14px;
  color: rgba(255,255,255,0.85) !important;
}

.account-page .page-body {
  padding: 30px;
}

/* Common Button Styles */
.btn-edit,
a.btn-edit {
  background: #f8f9fa !important;
  color: #3C7F9A !important;
  border: 1px solid #3C7F9A !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.btn-edit:hover,
a.btn-edit:hover {
  background: linear-gradient(135deg, #3C7F9A 0%, #2d6175 100%) !important;
  color: #fff !important;
}

/* Utility */
.img-circle { border-radius: 50%; }
.img-responsive { display: block; max-width: 100%; height: auto; }
.text-center { text-align: center; }
.clearfix::after { content: ""; display: table; clear: both; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (min-width: 768px) {
  .dash-cols .tile-heading {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .dash-cols .tile-body {
    width: 70%;
  }
}

@media (max-width: 991px) {
  .dashboard .row > [class*="col-md-4"] {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  .dashboard .flex {
    flex-direction: column;
  }
  
  .dashboard .tile-heading {
    padding: 15px;
    text-align: center;
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
  }
  
  .dashboard .tile-heading i {
    font-size: 28px;
  }
  
  .dashboard .tile .tile-body h2 {
    font-size: 28px;
  }
  
  .profile-section {
    margin-bottom: 25px;
  }
  
  .profile-section .user-image {
    padding: 20px 15px 15px;
  }
  
  .profile-links a {
    padding: 14px 10px;
  }
  
  .profile-links a i {
    font-size: 20px;
  }
  
  .account-links li {
    margin-bottom: 12px;
  }
  
  .account-links li a {
    padding: 16px 10px;
  }
  
  .account-links li i {
    font-size: 24px;
  }
  
  .account-links li span {
    font-size: 12px;
  }
  
  .grey-table h3 {
    padding: 12px 15px;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .grey-table .table th,
  .grey-table .table td {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .grey-table .table th {
    font-size: 11px;
  }
  
  /* Edit Profile Mobile */
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-row .form-group {
    margin-bottom: 20px;
  }
  
  .edit-profile .form-body,
  .account-page .page-body {
    padding: 20px;
  }
  
  .edit-profile .form-actions {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn-back,
  .btn-save {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .account-links li.col-xs-6 {
    width: 50%;
  }
  
  .dashboard .tile .tile-body h1 {
    font-size: 11px;
  }
  
  .dashboard .tile .tile-body h2 {
    font-size: 24px;
  }
  
  .dashboard .view-all a {
    font-size: 11px;
  }
  
  .grey-table .table-responsive {
    border: 0;
  }
  
  .grey-table .table th:nth-child(2),
  .grey-table .table td:nth-child(2) {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* ============================================
   ACCOUNT TABLE STYLES
   ============================================ */

.account-table {
  margin: 0;
  border-collapse: collapse;
  width: 100%;
}

.account-table thead th {
  background: #f8f9fa;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  color: #666;
  padding: 14px 18px;
  border-bottom: 2px solid #e8e8e8;
  letter-spacing: 0.3px;
}

.account-table tbody td {
  padding: 14px 18px;
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
  font-size: 14px;
}

.account-table tbody tr:hover {
  background: #f8f9fa;
}

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

/* Status Badge */
.status-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(60, 127, 154, 0.1);
  color: #3C7F9A;
}

/* Points Badge */
.points-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(255, 165, 0, 0.3);
}

/* Amount Badge */
.amount-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: #fff;
}

/* Size Badge */
.size-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  background: #f0f0f0;
  color: #666;
}

/* View Button */
.btn-view,
a.btn-view {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #3C7F9A 0%, #2d6175 100%) !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  border: none !important;
  padding: 0 !important;
}

.btn-view:hover,
a.btn-view:hover {
  background: #2d6175 !important;
  color: #fff !important;
  transform: scale(1.1) !important;
}

/* Download Button */
.btn-download,
a.btn-download {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #3C7F9A 0%, #2d6175 100%) !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 3px 10px rgba(60, 127, 154, 0.3) !important;
  border: none !important;
  padding: 0 !important;
}

.btn-download:hover,
a.btn-download:hover {
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(60, 127, 154, 0.4) !important;
}

.btn-download i {
  font-size: 18px !important;
}

/* Delete Button */
.btn-delete,
a.btn-delete {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #dc3545 !important;
  border: 1px solid #dc3545 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
}

.btn-delete:hover,
a.btn-delete:hover {
  background: #dc3545 !important;
  color: #fff !important;
}

/* Total Info */
.total-info {
  margin: 8px 0 0;
  font-size: 15px;
  color: rgba(255,255,255,0.9) !important;
}

.total-info strong {
  color: #fff;
  font-size: 18px;
}

/* Pagination */
.pagination-wrap {
  padding: 15px 0;
}

.pagination-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid #f0f0f0;
  margin-top: 10px;
}

.results-info {
  color: #888;
  font-size: 13px;
}

/* Form Actions */
.account-page .form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #e8e8e8;
  margin-top: 20px;
}

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

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

.empty-state p {
  color: #888;
  font-size: 16px;
  margin: 0;
}

.empty-table-state {
  padding: 40px 20px;
}

.empty-table-state i {
  font-size: 48px;
  color: #ddd;
  margin-bottom: 15px;
  display: block;
}

.empty-table-state p {
  color: #888;
  font-size: 14px;
  margin: 0;
}

/* ============================================
   ADDRESS LIST STYLES
   ============================================ */

.address-list {
  display: grid;
  gap: 20px;
}

.address-card {
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.2s ease;
}

.address-card:hover {
  border-color: #3C7F9A;
  box-shadow: 0 4px 12px rgba(60, 127, 154, 0.1);
}

.address-content {
  flex: 1;
  color: #555;
  line-height: 1.6;
}

.address-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ============================================
   NEWSLETTER STYLES
   ============================================ */

.newsletter-page .page-header p {
  color: rgba(255,255,255,0.85) !important;
}

.newsletter-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.newsletter-option {
  cursor: pointer;
  display: block;
}

.newsletter-option input {
  display: none;
}

.newsletter-option .option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  background: #f8f9fa;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.newsletter-option:hover .option-card {
  border-color: #3C7F9A;
  background: #fff;
}

.newsletter-option input:checked + .option-card {
  border-color: #3C7F9A;
  background: rgba(60, 127, 154, 0.05);
  box-shadow: 0 4px 15px rgba(60, 127, 154, 0.15);
}

.newsletter-option .option-card i {
  font-size: 48px;
  margin-bottom: 15px;
  color: #ccc;
  transition: color 0.2s ease;
}

.newsletter-option input:checked + .option-card i {
  color: #3C7F9A;
}

.newsletter-option .option-card .option-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  display: block;
}

.newsletter-option .option-card .option-desc {
  font-size: 13px;
  color: #888;
  display: block;
}

/* ============================================
   ACCOUNT PAGE MOBILE
   ============================================ */

@media (max-width: 767px) {
  .account-page .page-header {
    padding: 20px;
  }
  
  .account-page .page-header h1 {
    font-size: 18px;
  }
  
  .account-page .page-body {
    padding: 20px;
  }
  
  .account-page .form-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .account-page .form-actions .btn-back,
  .account-page .form-actions .btn-save {
    width: 100%;
    justify-content: center;
  }
  
  .account-table thead th,
  .account-table tbody td {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .account-table thead th {
    font-size: 11px;
  }
  
  .address-card {
    flex-direction: column;
    gap: 15px;
  }
  
  .address-actions {
    width: 100%;
    justify-content: flex-end;
  }
  
  .newsletter-options {
    grid-template-columns: 1fr;
  }
  
  .newsletter-option .option-card {
    padding: 25px 15px;
  }
  
  .newsletter-option .option-card i {
    font-size: 40px;
  }
  
  .pagination-row {
    flex-direction: column;
    gap: 10px;
  }
}

/* ============================================
   ADDRESS FORM STYLES
   ============================================ */

.address-form .section-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3C7F9A;
  display: inline-block;
}

.radio-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #f8f9fa;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.radio-option:hover {
  border-color: #3C7F9A;
  background: #fff;
}

.radio-option.active {
  border-color: #3C7F9A;
  background: rgba(60, 127, 154, 0.05);
}

.radio-option input {
  margin: 0;
}

.radio-inline,
.checkbox-inline {
  margin-right: 15px;
  font-weight: 500;
}

.btn-upload {
  background: #f8f9fa;
  color: #555;
  border: 1px solid #ddd;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-upload:hover {
  background: linear-gradient(135deg, #3C7F9A 0%, #2d6175 100%);
  color: #fff;
  border-color: #3C7F9A;
}

.btn-upload i {
  margin-right: 8px;
}

/* ============================================
   FINAL OVERRIDE - BUTTONS (ATTRIBUTE SELECTORS)
   ============================================ */

[class*="btn-back"] {
  background: #f8f9fa !important;
  color: #555 !important;
  border: 1px solid #ddd !important;
  padding: 12px 24px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  line-height: 1.2 !important;
}

[class*="btn-back"]:hover {
  background: #eee !important;
  color: #333 !important;
  text-decoration: none !important;
}

[class*="btn-save"] {
  background: linear-gradient(135deg, #3C7F9A 0%, #2d6175 100%) !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 30px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(60,127,154,0.3) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  line-height: 1.2 !important;
}

[class*="btn-save"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(60,127,154,0.4) !important;
  color: #fff !important;
  text-decoration: none !important;
}

[class*="btn-edit"] {
  background: #f8f9fa !important;
  color: #3C7F9A !important;
  border: 1px solid #3C7F9A !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

[class*="btn-edit"]:hover {
  background: linear-gradient(135deg, #3C7F9A 0%, #2d6175 100%) !important;
  color: #fff !important;
}

[class*="btn-delete"] {
  background: #fff !important;
  color: #dc3545 !important;
  border: 1px solid #dc3545 !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

[class*="btn-delete"]:hover {
  background: #dc3545 !important;
  color: #fff !important;
}

[class*="btn-view"] {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #3C7F9A 0%, #2d6175 100%) !important;
  color: #fff !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  padding: 0 !important;
}

[class*="btn-view"]:hover {
  background: #2d6175 !important;
  color: #fff !important;
  transform: scale(1.1) !important;
}

