/**
 * Responsive Design Overrides
 * This file contains responsive styles for all user pages and components
 */

/* ===== Global Responsive Styles ===== */
@media (max-width: 1399px) {
  .container {
    max-width: 1140px;
  }
  
  h1 {
    font-size: calc(1.8rem + 1vw);
  }
  
  h2 {
    font-size: calc(1.5rem + 0.5vw);
  }
  
  .dashboard-hero__title {
    font-size: 2.2rem;
  }
  
  .stat-card__value {
    font-size: 2rem;
  }
}

@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .dashboard-body {
    padding: 40px 20px;
  }
  
  .dashboard-panel__body {
    padding: 20px;
  }
  
  .stat-card {
    padding: 20px;
  }
  
  .stat-card__icon {
    width: 55px;
    height: 55px;
    font-size: 1.8rem;
  }
  
  .upcoming-event__date {
    width: 50px;
    height: 60px;
  }
  
  .upcoming-event__date .day {
    font-size: 1.3rem;
  }
  
  .quick-actions__body {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  
  .dashboard-hero {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }
  
  .dashboard-hero__content {
    margin-bottom: 20px;
  }
  
  .dashboard-hero__title {
    font-size: 2rem;
  }
  
  .dashboard-hero__subtitle {
    font-size: 1.1rem;
  }
  
  .dashboard-hero__illustration {
    max-width: 180px;
  }
  
  .header-main {
    padding: 10px 0;
  }
  
  .logo-main {
    max-height: 40px;
  }
  
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    margin-top: 10px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .navbar-nav .nav-link {
    padding: 12px 15px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .navbar-nav .nav-link::after {
    display: none;
  }
  
  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }
  
  .btn-event {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
  
  .language-item {
    margin: 10px 0;
  }
  
  .dashboard-summary__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .notification-card {
    padding: 20px;
  }
  
  .dashboard-panel__header {
    padding: 15px 20px;
  }
  
  .dashboard-panel__title {
    font-size: 1.2rem;
  }
  
  .custom-table th,
  .custom-table td {
    padding: 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 540px;
  }
  
  .dashboard-hero {
    padding: 20px;
  }
  
  .dashboard-hero__title {
    font-size: 1.8rem;
  }
  
  .notification-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  
  .notification-card__icon {
    margin: 0 auto 15px;
  }
  
  .notification-card__actions {
    justify-content: center;
  }
  
  .stat-card__icon {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
  
  .stat-card__value {
    font-size: 1.8rem;
  }
  
  .dashboard-panel__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .dashboard-panel__actions {
    width: 100%;
    margin-top: 10px;
  }
  
  .upcoming-event {
    flex-direction: column;
  }
  
  .upcoming-event__date {
    margin: 0 0 15px;
  }
  
  .upcoming-event__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .quick-actions__body {
    grid-template-columns: 1fr;
  }
  
  /* Transform tables for mobile */
  .mobile-table {
    display: block;
    width: 100%;
    overflow-x: auto;
  }
  
  .mobile-table--responsive {
    border: 0;
  }
  
  .mobile-table--responsive thead {
    display: none;
  }
  
  .mobile-table--responsive tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
  }
  
  .mobile-table--responsive td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    text-align: right;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .mobile-table--responsive td:last-child {
    border-bottom: 0;
  }
  
  .mobile-table--responsive td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #1a1a1a;
    text-align: left;
    padding-right: 10px;
  }
  
  /* Footer responsive */
  .footer-widget {
    margin-bottom: 30px;
  }
  
  .footer-widget__logo {
    max-width: 150px;
    margin-bottom: 15px;
  }
  
  .social-list {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }
  
  .dashboard-body {
    padding: 15px;
  }
  
  .dashboard-hero__title {
    font-size: 1.6rem;
  }
  
  .dashboard-hero__subtitle {
    font-size: 1rem;
  }
  
  .dashboard-hero__illustration {
    max-width: 150px;
  }
  
  .stat-card {
    padding: 15px;
  }
  
  .stat-card__icon {
    width: 45px;
    height: 45px;
    font-size: 1.4rem;
  }
  
  .stat-card__value {
    font-size: 1.6rem;
  }
  
  .notification-card {
    padding: 15px;
  }
  
  .notification-card__title {
    font-size: 1.2rem;
  }
  
  .dashboard-panel__header {
    padding: 12px 15px;
  }
  
  .dashboard-panel__body {
    padding: 15px;
  }
  
  .btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
  
  /* Header responsive */
  .header-main {
    padding: 8px 0;
  }
  
  .logo-main {
    max-height: 35px;
  }
  
  .navbar-toggler {
    padding: 5px 10px;
  }
  
  .navbar-toggler i {
    font-size: 20px;
  }
  
  .btn-event {
    padding: 8px 15px !important;
    font-size: 0.85rem;
  }
  
  .btn-event i {
    font-size: 16px;
  }
}

@media (max-width: 374px) {
  .dashboard-hero__title {
    font-size: 1.4rem;
  }
  
  .stat-card__icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .stat-card__value {
    font-size: 1.4rem;
  }
  
  .notification-card__title {
    font-size: 1.1rem;
  }
  
  .notification-card__actions .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .dashboard-panel__title {
    font-size: 1.1rem;
  }
  
  .custom-table th,
  .custom-table td {
    padding: 10px;
    font-size: 0.8rem;
  }
  
  .btn {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
} 