/* ============================================
   ACCOUNT PAGES - COMPREHENSIVE STYLES
   Organized by page type for maintainability
   NO DUPLICATES - Consolidated CSS (October 26, 2025)
   ============================================ */


/* ============================================
   AUTH PAGES (Login/Signup)
   ============================================ */

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-box {
  width: 100%;
  max-width: 500px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

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

.auth-header h1 {
  font-family: PlayfairDisplay-Regular;
  font-size: 28px;
  color: #333;
  margin-bottom: 5px;
}

.auth-header p {
  color: #666;
  font-size: 14px;
}

.auth-form {
  margin: 20px 0;
}

.auth-form .form-group input:focus,
.auth-form .form-group select:focus {
  border-color: #a5a58c;
  box-shadow: 0 0 0 3px rgba(165, 165, 140, 0.1);
}

.auth-button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #a5a58c 0%, #8d8d77 100%);
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 20px;
  font-size: 14px;
  font-family: Poppins-Medium;
  text-transform: uppercase;
}

.auth-button:hover {
  background-color: #8d8d77;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(165, 165, 140, 0.3);
}

.auth-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

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

.auth-link p {
  margin: 10px 0;
  font-size: 14px;
}

.auth-link a {
  color: #a5a58c;
  text-decoration: none;
  font-weight: 600;
  font-family: Poppins-Medium;
}

.auth-link a:hover {
  color: #8d8d77;
  text-decoration: underline;
}

/* ============================================
   SIGNUP PAGE
   ============================================ */

.signup-container {
  min-height: 100vh;
  padding: 40px 20px;
}

.signup-box {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.signup-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  background: white;
}

.signup-card-body {
  padding: 40px;
}

.signup-header {
  text-align: center;
  margin-bottom: 30px;
}

.signup-header h2 {
  font-family: PlayfairDisplay-Regular;
  color: #333;
  font-size: 28px;
  margin-bottom: 5px;
}

.signup-header p {
  color: #666;
  font-size: 14px;
}

.btn-signup {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #a5a58c 0%, #8d8d77 100%);
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 20px;
  text-transform: uppercase;
  font-family: Poppins-Medium;
}

.btn-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(165, 165, 140, 0.4);
}

.btn-signup:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(165, 165, 140, 0.4);
}

.btn-signup:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-signup .btn-spinner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-signup .btn-spinner i {
  font-size: 14px;
}

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

.signup-footer p {
  margin: 10px 0;
  font-size: 14px;
}

.signup-footer a {
  color: #a5a58c;
  text-decoration: none;
  font-weight: 600;
  font-family: Poppins-Medium;
}

.signup-footer a:hover {
  text-decoration: underline;
}

.requirement {
  display: flex;
  align-items: center;
  margin: 5px 0;
}

.requirement i {
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

.requirement.met {
  color: #a5a58c;
}

.requirement.met .requirement-icon {
  background: #a5a58c;
  border-color: #a5a58c;
}

.requirement.unmet {
  color: #dc3545;
}

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

.account-container {
  min-height: calc(100vh - 200px);
  padding: 40px 20px;
}

.account-header {
  background: linear-gradient(135deg, #a5a58c 0%, #8d8d77 100%);
  color: white;
  padding: 40px 20px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.account-header h1 {
  font-family: PlayfairDisplay-Regular;
  font-size: 32px;
  margin-bottom: 10px;
  color: white;
}

.account-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 16px;
}

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

.stat-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  padding: 20px;
  text-align: center;
}

.stat-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.stat-card i {
  font-size: 32px;
  color: #a5a58c;
  margin-bottom: 15px;
}

.stat-card-icon {
  color: #a5a58c;
}

.stat-card-value {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.stat-card-label {
  color: #666;
  font-size: 14px;
}

.account-section {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
}

.section-header {
  border-bottom: 2px solid #a5a58c;
}

.section-header h2 {
  font-family: PlayfairDisplay-Regular;
  color: #333;
}

.section-header-action {
  background: #a5a58c;
  color: white;
  font-family: Poppins-Medium;
  font-size: 12px;
  text-transform: uppercase;
}

.section-header-action:hover {
  background: #8d8d77;
  color: white;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.quick-link {
  background: linear-gradient(135deg, #a5a58c 0%, #8d8d77 100%);
  color: white;
  padding: 20px;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s;
}

.quick-link:hover {
  background: #a5a58c;
  color: white;
  transform: translateX(5px);
}

.quick-link i {
  font-size: 32px;
  opacity: 0.3;
}

.quick-link-text-primary {
  font-weight: 600;
  margin-bottom: 5px;
}

.quick-link-text-secondary {
  font-size: 12px;
  opacity: 0.8;
}

.quick-link-logout {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.section-title {
  font-family: PlayfairDisplay-Regular;
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #a5a58c;
}

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

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

.recent-items-list li:last-child {
  border-bottom: none;
}

.recent-item-info {
  flex: 1;
}

.recent-item-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.recent-item-meta {
  font-size: 12px;
  color: #999;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #999;
}

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

.empty-state-message {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 20px;
}

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

.profile-container {
  min-height: calc(100vh - 200px);
  padding: 40px 20px;
}

.profile-header {
  background: linear-gradient(135deg, #a5a58c 0%, #8d8d77 100%);
  color: white;
  padding: 40px 20px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.profile-header h1 {
  font-family: PlayfairDisplay-Regular;
  font-size: 32px;
  margin-bottom: 10px;
}

.profile-header p {
  margin: 0;
  opacity: 0.9;
}

.profile-breadcrumb {
  margin-bottom: 30px;
  font-size: 14px;
}

.profile-breadcrumb a {
  color: white;
  text-decoration: none;
}

.profile-breadcrumb a:hover {
  text-decoration: underline;
}

.profile-section {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
}

.profile-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

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

.info-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  display: block;
  font-size: 14px;
}

.info-value {
  color: #333;
  font-size: 16px;
}

.profile-tab {
  color: #333;
}

.profile-tab.active {
  color: #a5a58c;
  border-bottom-color: #a5a58c;
}

.profile-tab:hover {
  color: #a5a58c;
}

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

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

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: #a5a58c;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(165, 165, 140, 0.25);
}

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

.form-button {
  background-color: #a5a58c;
  color: white;
  border: none;
  font-family: Poppins-Medium;
  font-size: 14px;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.form-button:hover {
  background-color: #8d8d77;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(165, 165, 140, 0.3);
}

.btn-submit {
  background: linear-gradient(135deg, #a5a58c 0%, #8d8d77 100%);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 14px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(165, 165, 140, 0.4);
}

.password-requirements {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 4px;
  margin-top: 10px;
}

.password-requirements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.password-requirements li {
  padding: 5px 0;
  font-size: 13px;
  color: #666;
}

.password-requirements li:before {
  content: "✓";
  color: #a5a58c;
  font-weight: bold;
  margin-right: 8px;
}

.action-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn-action {
  font-family: Poppins-Medium;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.btn-action.btn-primary {
  background: linear-gradient(135deg, #a5a58c 0%, #8d8d77 100%);
  color: white;
}

.btn-action.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 20px rgba(165, 165, 140, 0.4);
}

.btn-action.btn-secondary {
  background: white;
  color: #a5a58c;
  border: 2px solid #a5a58c;
}

.btn-action.btn-secondary:hover {
  background: #f8f9fa;
}

.btn-action.btn-danger {
  background: #dc3545;
  color: white;
}

.btn-action.btn-danger:hover {
  background: #c82333;
}

/* ============================================
   ORDERS PAGE
   ============================================ */

.orders-container {
  min-height: calc(100vh - 200px);
  padding: 40px 20px;
}

.orders-header {
  background: linear-gradient(135deg, #a5a58c 0%, #8d8d77 100%);
  color: white;
  padding: 40px 20px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.orders-header h1 {
  font-family: PlayfairDisplay-Regular;
  font-size: 32px;
  margin-bottom: 10px;
}

.orders-breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
}

.orders-breadcrumb a {
  color: white;
  text-decoration: none;
}

.orders-breadcrumb a:hover {
  text-decoration: underline;
}

.orders-section {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.table-responsive {
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
}

.orders-table thead {
  background: linear-gradient(135deg, #a5a58c 0%, #8d8d77 100%);
  color: white;
}

.orders-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
}

.orders-table td {
  padding: 15px;
  border-bottom: 1px solid #e0e0e0;
}

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

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

.order-number {
  font-weight: 600;
  color: #333;
}

.order-date {
  color: #666;
  font-size: 13px;
}

.order-total {
  font-weight: 600;
  color: #333;
  font-size: 15px;
}

.order-status {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
  text-transform: uppercase;
}

.status-pending {
  background-color: #fff3cd;
  color: #856404;
}

.status-completed {
  background-color: #d4edda;
  color: #155724;
}

.status-failed {
  background-color: #f8d7da;
  color: #721c24;
}

.status-refunded {
  background-color: #d1ecf1;
  color: #0c5460;
}

.order-details-link {
  color: #a5a58c;
  font-family: Poppins-Medium;
}

.order-details-link:hover {
  color: #8d8d77;
}

.btn-view-order {
  background: #a5a58c;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.3s;
  display: inline-block;
  font-family: Poppins-Medium;
}

.btn-view-order:hover {
  background: #8d8d77;
  color: white;
}

.no-orders-message {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.no-orders-message i {
  font-size: 64px;
  color: #ddd;
  margin-bottom: 20px;
  display: block;
}

.no-orders-message h3 {
  color: #666;
  margin-bottom: 15px;
}

.no-orders-message p {
  margin-bottom: 25px;
}

.order-notes-container {
  margin-top: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 4px;
}

.order-notes-title {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  text-transform: uppercase;
  color: #999;
  font-weight: 600;
}

.order-notes-text {
  margin: 0;
  color: #333;
  font-size: 14px;
}

.order-section-spacer {
  margin-top: 30px;
}

/* ============================================
   ORDER DETAILS PAGE
   ============================================ */

.order-details-container {
  min-height: calc(100vh - 200px);
  padding: 40px 20px;
}

.order-details-header {
  margin-bottom: 40px;
}

.order-details-header h1 {
  font-family: PlayfairDisplay-Regular;
  font-size: 32px;
  color: #333;
  margin-bottom: 10px;
}

.order-meta {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 15px;
  font-size: 14px;
  color: #666;
}

.order-meta-item {
  display: flex;
  flex-direction: column;
}

.order-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 5px;
  font-weight: 600;
}

.order-meta-value {
  font-size: 15px;
  color: #333;
  font-weight: 600;
}

.order-status-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
}

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

.order-section {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
}

.order-items-table {
  width: 100%;
  border-collapse: collapse;
}

.order-items-table thead {
  background: #f8f9fa;
  border-bottom: 2px solid #e0e0e0;
}

.order-items-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
}

.order-items-table td {
  padding: 15px;
  border-bottom: 1px solid #e0e0e0;
}

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

.order-summary {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.summary-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.summary-label {
  font-size: 14px;
  color: #666;
}

.summary-value {
  font-weight: 600;
  color: #333;
}

.summary-total .summary-label,
.summary-total .summary-value {
  font-size: 18px;
  color: #333;
}

/* ============================================
   DOWNLOADS PAGE
   ============================================ */

.downloads-container {
  min-height: calc(100vh - 200px);
  padding: 40px 20px;
}

.downloads-header {
  background: linear-gradient(135deg, #a5a58c 0%, #8d8d77 100%);
  color: white;
  padding: 40px 20px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.downloads-header h1 {
  font-family: PlayfairDisplay-Regular;
  font-size: 32px;
  margin-bottom: 10px;
}

.downloads-header p {
  margin: 0;
  opacity: 0.9;
}

.downloads-breadcrumb {
  margin-bottom: 30px;
  font-size: 14px;
}

.downloads-breadcrumb-link {
  color: #a5a58c;
}

.downloads-breadcrumb a {
  color: white;
  text-decoration: none;
}

.downloads-breadcrumb a:hover {
  text-decoration: underline;
}

/* ============================================
   DOWNLOADS GRID & CARDS
   ============================================ */

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  margin-bottom: 30px;
}

.download-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(165, 165, 140, 0.2);
}

.download-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.download-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.download-card-image.no-image {
  background: linear-gradient(135deg, #a5a58c 0%, #8d8d77 100%);
  color: white;
}

.download-card-image.no-image i {
  font-size: 64px;
  color: white;
  opacity: 0.9;
}

.download-card-body {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  /* Important for text truncation */
}

.download-card-title {
  font-weight: 600;
  color: #333;
  font-size: 18px;
  margin: 0 0 12px 0;
  font-family: Poppins-Medium;
  line-height: 1.4;
}

.download-card-meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 16px;
}

.download-card-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.download-card-stat {
  flex: 0 1 auto;
}

.download-card-stat-label {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.download-card-stat-value {
  font-weight: 600;
  color: #333;
  font-size: 16px;
  font-family: Poppins-Medium;
}

.download-card-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-download {
  background-color: #a5a58c;
  color: white;
  font-family: Poppins-Medium;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  font-size: 13px;
  white-space: nowrap;
}

.btn-download:hover {
  background-color: #8d8d77;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(165, 165, 140, 0.3);
  color: white;
}

.btn-view-product {
  background-color: #ddd;
  color: #333;
  font-family: Poppins-Medium;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  font-size: 13px;
  white-space: nowrap;
}

.btn-view-product:hover {
  background-color: #ccc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #333;
}

/* Responsive Styles for Download Cards */
@media (max-width: 991px) {
  .downloads-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .downloads-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .download-card-image {
    aspect-ratio: 16 / 9;
  }

  .download-card-body {
    padding: 20px;
  }

  .download-card-title {
    font-size: 16px;
  }

  .download-card-stats {
    gap: 20px;
  }

  .download-card-buttons {
    flex-direction: column;
  }

  .btn-download,
  .btn-view-product {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .download-card-image {
    aspect-ratio: 4 / 3;
  }

  .download-card-body {
    padding: 16px;
  }

  .download-card-title {
    font-size: 15px;
  }

  .download-card-stats {
    gap: 15px;
  }

  .btn-download,
  .btn-view-product {
    padding: 10px 20px;
    font-size: 12px;
  }
}

.item-download {
  background: #a5a58c;
  color: white;
  font-family: Poppins-Medium;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
}

.item-download:hover {
  background: #8d8d77;
  color: white;
}

.breadcrumb-link {
  background: #a5a58c;
  color: white;
  font-family: Poppins-Medium;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  font-size: 13px;
}

.breadcrumb-link:hover {
  background: #8d8d77;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(165, 165, 140, 0.3);
  color: white;
}

.no-downloads {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

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

/* ============================================
   CART & CHECKOUT PAGES
   ============================================ */

.wrap-table-shopping-cart {
  overflow-x: auto;
}

.table-shopping-cart {
  width: 100%;
  border-collapse: collapse;
}

.table_head {
  background: #a5a58c;
  color: white;
  border-bottom: 2px solid #ddd;
}

.table_head th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}

.table_row {
  border-bottom: 1px solid #eee;
}

.table_row td {
  padding: 15px;
}

.table_row:last-child {
  border-bottom: none;
}

.btn-num-product-down:hover,
.btn-num-product-up:hover {
  background: #a5a58c;
  color: white;
}

.num-product:focus {
  border-color: #a5a58c;
}

.cart-remove-form {
  margin: 0;
  display: inline;
}

/* ============================================
   ALERT & MESSAGE STYLES
   ============================================ */

.alert {
  padding: 15px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
}

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

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

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

@media (max-width: 768px) {

  .account-container,
  .profile-container,
  .orders-container,
  .order-details-container,
  .downloads-container,
  .signup-container {
    padding: 20px 15px;
  }

  .account-section,
  .profile-section {
    padding: 20px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .signup-card-body {
    padding: 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .orders-table {
    font-size: 13px;
  }

  .orders-table th,
  .orders-table td {
    padding: 10px;
  }

  .order-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   CART PAGE STYLES
   ============================================ */

/* Cart Table */
.cart-table {
  margin-top: 20px;
  width: 100%;
  background: white;
}

.cart-table thead {
  background: #f8f8f8;
  border-bottom: 2px solid #a5a58c;
}

.cart-table th {
  padding: 15px;
  font-family: Poppins-Medium;
  font-size: 14px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-table td {
  padding: 20px 15px;
  vertical-align: middle;
  border-bottom: 1px solid #eee;
}

.cart-product-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #eee;
}

.cart-product-title {
  font-weight: 500;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

.cart-product-title:hover {
  color: #a5a58c;
}

/* Quantity Controls */
.qty-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #666;
}

.qty-btn:hover {
  background: #a5a58c;
  color: white;
  border-color: #a5a58c;
}

.qty-input {
  width: 60px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;
  font-family: Poppins-Regular;
  font-size: 14px;
}

/* Cart Summary */
.cart-summary {
  background: #f8f8f8;
  padding: 25px;
  border-radius: 8px;
  position: sticky;
  top: 100px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cart-summary h4 {
  margin-bottom: 20px;
  font-family: PlayfairDisplay-Regular;
  font-size: 22px;
  color: #333;
  border-bottom: 2px solid #a5a58c;
  padding-bottom: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-family: Poppins-Regular;
  font-size: 14px;
  color: #666;
}

.summary-row.total-row {
  font-size: 18px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid #ddd;
  color: #333;
}

.cart-summary hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 15px 0;
}

/* Cart Badge (Header Widget) */
.cart-badge {
  position: absolute;
  top: -5px;
  right: 5px;
  background: #a5a58c;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  font-family: Poppins-Medium;
}

/* Cart Action Buttons */
.move-to-wishlist,
.remove-item {
  margin: 0 3px;
  padding: 6px 10px;
  font-size: 13px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s;
}

.move-to-wishlist {
  background: #e8b00a;
  color: white;
}

.move-to-wishlist:hover {
  background: #a5a58c;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(255, 193, 7, 0.3);
}

.remove-item {
  background: #888;
  color: white;
}

.remove-item:hover {
  background: #a5a58c;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(108, 117, 125, 0.3);
}

/* Responsive Cart Styles */
@media (max-width: 991px) {
  .cart-summary {
    position: static;
    margin-top: 30px;
  }

  .cart-table {
    font-size: 13px;
  }

  .cart-product-img {
    width: 60px;
    height: 60px;
  }

  .qty-controls {
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 767px) {

  .cart-table th:nth-child(3),
  .cart-table td:nth-child(3) {
    display: none;
    /* Hide price column on mobile */
  }

  .cart-product-title {
    font-size: 13px;
  }
}

/* ============================================
   ORDER DETAILS PAGE
   ============================================ */

.order-details-container {
  min-height: calc(100vh - 200px);
  padding: 40px 20px;
}

.order-details-header {
  margin-bottom: 40px;
}

.order-details-header h1 {
  font-family: PlayfairDisplay-Regular;
  font-size: 32px;
  color: #333;
  margin-bottom: 10px;
}

.order-meta {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 15px;
  font-size: 14px;
  color: #666;
}

.order-meta-item {
  display: flex;
  flex-direction: column;
}

.order-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 5px;
  font-weight: 600;
}

.order-meta-value {
  font-size: 15px;
  color: #333;
  font-weight: 600;
}

.order-status-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
}

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

.order-section {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
}

.order-items-table {
  width: 100%;
  border-collapse: collapse;
}

.order-items-table thead {
  background: #f8f9fa;
  border-bottom: 2px solid #e0e0e0;
}

.order-items-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
}

.order-items-table td {
  padding: 15px;
  border-bottom: 1px solid #e0e0e0;
}

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

.order-summary {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.summary-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.summary-label {
  font-size: 14px;
  color: #666;
}

.summary-value {
  font-weight: 600;
  color: #333;
}

.summary-total .summary-label,
.summary-total .summary-value {
  font-size: 18px;
  color: #333;
}

/* ============================================
   DOWNLOADS PAGE
   ============================================ */

.downloads-container {
  min-height: calc(100vh - 200px);
  padding: 40px 20px;
}

.downloads-header {
  background: linear-gradient(135deg, #a5a58c 0%, #8d8d77 100%);
  color: white;
  padding: 40px 20px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.downloads-header h1 {
  font-family: PlayfairDisplay-Regular;
  font-size: 32px;
  margin-bottom: 10px;
}

.downloads-header p {
  margin: 0;
  opacity: 0.9;
}

.downloads-breadcrumb {
  margin-bottom: 30px;
  font-size: 14px;
}

.downloads-breadcrumb a {
  color: white;
  text-decoration: none;
}

.downloads-breadcrumb a:hover {
  text-decoration: underline;
}

/* ============================================
   CART & CHECKOUT PAGES
   ============================================ */

.wrap-table-shopping-cart {
  overflow-x: auto;
}

.table-shopping-cart {
  width: 100%;
  border-collapse: collapse;
}

.table_head {
  background: #f8f9fa;
  border-bottom: 2px solid #ddd;
}

.table_head th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}

.table_row {
  border-bottom: 1px solid #eee;
}

.table_row td {
  padding: 15px;
}

.table_row:last-child {
  border-bottom: none;
}

.btn-num-product-down:hover,
.btn-num-product-up:hover {
  background: #a5a58c;
  color: white;
}

.num-product:focus {
  border-color: #a5a58c;
}

.cart-remove-form {
  margin: 0;
  display: inline;
}

/* ============================================
   ALERT & MESSAGE STYLES
   ============================================ */

.alert {
  padding: 15px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
}

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

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

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

@media (max-width: 768px) {

  .auth-container,
  .signup-container,
  .account-container,
  .profile-container,
  .orders-container,
  .order-details-container,
  .downloads-container {
    padding: 20px 15px;
  }

  .auth-box,
  .signup-card,
  .account-section,
  .profile-section {
    border-radius: 8px;
  }

  .signup-card-body {
    padding: 25px;
  }

  .account-section,
  .profile-section {
    padding: 20px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .orders-table {
    font-size: 13px;
  }

  .orders-table th,
  .orders-table td {
    padding: 10px;
  }

  .order-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   WISHLIST PAGE STYLES
   ============================================ */

.wishlist-card {
  position: relative;
}

.wishlist-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.wishlist-remove-btn:hover {
  background: #a5a58c;
  color: white;
  transform: scale(1.1);
}

.product-price {
  font-weight: 600;
  color: #a5a58c;
  font-size: 1.1rem;
}

.separator {
  color: #ccc;
  margin: 0 8px;
}

.download-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.download-card-title a:hover {
  color: #a5a58c;
}

/* Wishlist button on product pages */
.gap-10 {
  gap: 10px;
}

.flex-grow-1 {
  flex-grow: 1;
}

.js-wishlist-toggle {
  min-width: 60px;
}

.js-wishlist-toggle i.fa-heart {
  color: #000;
}

.js-wishlist-product-toggle i.fa-heart {
  color: #000;
}

/* Wishlist icon styles */
.wishlist-hidden {
  opacity: 0 !important;
  visibility: hidden;
}

.wishlist-active {
  opacity: 1 !important;
  visibility: visible;
}

.cursor-pointer {
  cursor: pointer;
}