/* Tablet Devices (768px - 992px) */
@media (min-width: 768px) and (max-width: 992px) {
  /* Font sizes */
  .font60 {
    font-size: 48px !important;
  }
  
  .font35 {
    font-size: 30px !important;
  }
  
  .font15 {
    font-size: 14px !important;
  }
  
  /* Home layout */
  .col-8 {
    width: 65% !important;
  }
  
  .col-4 {
    width: 35% !important;
  }
  
  /* Logo sizing */
  .home-container img {
    max-width: 180px;
  }
  
  /* Login and Register panels */
  .login-panel, .register-panel {
    width: 60%;
    right: -60%;
  }
  
  /* Adjust button sizing */
  .btn-size-md {
    padding: 9px 25px;
    font-size: 15px;
  }
  
  .btn2-size-md {
    padding: 9px 25px;
    font-size: 15px;
  }
  
  /* Adjust circle button */
  .circle-btn {
    width: 65px;
    height: 65px;
    font-size: 14px;
    bottom: 8px;
  }
  
  /* Welcome screen adjustments */
  .welcome-text {
    font-size: 50px;
  }

  /* Notifications page tablet styles */
  .notifications-page {
    padding: 15px;
  }

  .notifications-nav {
    width: auto !important;
    margin-bottom: 1.5rem;
  }

  .notifications-nav .btn {
    padding: 0.6rem 1.2rem;
    font-size: 15px;
  }

  .notifications-page .table {
    border-spacing: 0 10px;
  }

  .notifications-page .table td {
    padding: 1rem 0.8rem;
    font-size: 15px;
  }

  .notifications-page .table td:nth-child(2) {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .notifications-page .pagination {
    gap: 6px;
  }

  .notifications-page .pagination .page-link {
    padding: 0.5rem 0.8rem;
    font-size: 15px;
  }

  .sortable-header {
    font-size: 15px;
  }

  .sortable-header svg {
    width: 15px;
    height: 15px;
  }

  /* Payments page tablet styles */
  .payments-page {
    padding: 15px;
  }

  .payments-nav {
    width: auto !important;
    margin-bottom: 1.5rem;
  }

  .payments-nav .btn {
    padding: 0.6rem 1.2rem;
    font-size: 15px;
  }

  .payments-page .table {
    border-spacing: 0 10px;
  }

  .payments-page .table td,
  .payments-page .table th {
    padding: 1rem 0.8rem;
    font-size: 15px;
  }

  .payments-page .table td:nth-child(1),
  .payments-page .table th:nth-child(1) {
    min-width: 150px;
  }

  .payments-page .table td:nth-child(2),
  .payments-page .table th:nth-child(2) {
    min-width: 120px;
  }

  .payments-page .table td:nth-child(5),
  .payments-page .table th:nth-child(5) {
    min-width: 140px;
  }

  .payments-page .badge {
    padding: 0.5rem 1rem !important;
    font-size: 13px;
  }

  .payments-page .pagination {
    gap: 6px;
  }

  .payments-page .pagination .page-link {
    padding: 0.5rem 0.8rem;
    font-size: 15px;
  }

  .payments-page .btn-link {
    padding: 0.3rem;
    font-size: 15px;
  }

  .payments-page .btn-link svg {
    width: 18px;
    height: 18px;
  }

  /* E-sign page tablet styles */
  .offers-page {
    padding: 12px;
    overflow-x: hidden;
  }

  .offers-nav {
    width: auto !important;
    margin-bottom: 1.2rem;
  }

  .offers-nav .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 13px;
  }

  .offers-table-header {
    padding: 0.6rem 0;
    font-size: 13px;
  }

  .offers-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -12px;
    padding: 0 12px;
  }

  .offers-table-container::-webkit-scrollbar {
    height: 6px;
  }

  .offers-table-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
  }

  .offers-table-row {
    padding: 0.8rem 0;
    margin-bottom: 0.8rem;
    min-width: 800px;
  }

  .offers-table-row .col {
    padding: 0.4rem 0.6rem;
    font-size: 13px;
  }

  .offer-image {
    width: 45px;
    height: 45px;
  }

  .bulk-actions {
    margin-bottom: 1rem;
  }

  .bulk-actions span {
    font-size: 13px;
  }

  .bulk-actions .btn {
    padding: 0.4rem 0.8rem;
    font-size: 13px;
  }

  .bulk-actions .btn svg {
    width: 14px;
    height: 14px;
  }

  .offers-table-row .btn {
    padding: 0.3rem 0.6rem;
    font-size: 13px;
  }

  .offers-table-row .btn svg {
    width: 14px;
    height: 14px;
  }

  .offers-page .pagination {
    gap: 4px;
  }

  .offers-page .pagination .page-link {
    padding: 0.4rem 0.6rem;
    font-size: 13px;
  }

  .offers-page .form-check-input {
    width: 16px;
    height: 16px;
  }

  /* Dashboard page tablet styles */
  .dashboard-page {
    padding: 12px;
  }

  .dashboard-page h1.font40 {
    font-size: 32px !important;
  }

  .dashboard-page .text-muted {
    font-size: 14px;
  }

  /* Property Progress Tracker */
  .property-select {
    max-width: 250px;
    margin-bottom: 1.2rem;
  }

  .progress-card, .summary-card {
    width: 160px;
    min-height: 90px;
    margin-bottom: 1rem;
  }

  .progress-card .icon-container,
  .summary-card .icon-container {
    bottom: 8px;
    right: 12px;
  }

  .progress-card .icon,
  .summary-card .icon {
    font-size: 24px;
  }

  /* Dashboard Bottom Section */
  .quick-action-card {
    width: 140px;
    height: 200px !important;
    margin-bottom: 1rem;
  }

  .quick-action-card .icon {
    font-size: 28px;
    padding-top: 25px;
  }

  .quick-action-card .label {
    font-size: 13px;
  }

  /* Recent Activity Table */
  .table-responsive {
    margin: 0 -12px;
    padding: 0 12px;
  }

  .table th {
    font-size: 14px;
    padding: 0.8rem;
  }

  .table td {
    font-size: 13px;
    padding: 0.8rem;
  }

  .badge {
    font-size: 12px;
    padding: 0.4rem 0.8rem;
  }

  /* Chart Containers */
  .chart-container {
    height: 300px;
    margin-bottom: 1.5rem;
  }

  .recharts-wrapper {
    font-size: 12px;
  }

  .recharts-legend-item-text {
    font-size: 13px;
  }

  .recharts-tooltip-label {
    font-size: 13px;
  }

  /* DataTable Tablet Styles */
  .data-table-container .table tbody td {
    padding: 1rem 0.75rem;
  }

  .button-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
  }

  .button-container .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }

  .data-table-container .table {
    border-spacing: 0 10px;
  }

  .data-table-container .table thead th {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .data-table-container .table tbody td {
    padding: 0.8rem;
    font-size: 0.875rem;
  }

  .data-table-container .status-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .data-table-container .pagination {
    gap: 4px;
  }

  .data-table-container .pagination .page-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.875rem;
  }

  .data-table-container .sortable-header {
    font-size: 0.9rem;
  }

  .data-table-container .sortable-header svg {
    width: 16px;
    height: 16px;
  }

  /* Sidebar and Hamburger Menu Styles */
  .app-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1001;
    background: white;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .app-header nav {
    margin-top: 0.5rem !important;
  }

  .body-wrapper-inner {
    margin-top: 93px;
  }

  .left-sidebar {
    position: fixed;
    left: -250px;
    top: 0;
    height: 100vh;
    z-index: 1002;
    transition: transform 0.3s ease-in-out;
    background: white;
  }

  body.show-sidebar .left-sidebar {
    transform: translateX(250px);
  }

  .app-header .btn.ti-menu-2 {
    display: block !important;
    color: #000 !important;
    font-size: 24px !important;
    font-weight: bold !important;
  }

  .body-wrapper {
    margin-left: 0 !important;
  }

  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
  }

  body.show-sidebar .sidebar-overlay {
    display: block;
  }
  .body-wrapper .body-wrapper-inner {
    min-height: calc(100vh - 110px);
    padding-top: 0px !important;
  }
}

/* Large Tablet / Small Desktop (993px - 1199px) */
@media (min-width: 993px) and (max-width: 1199px) {
  /* Font sizes */
  .font60 {
    font-size: 52px !important;
  }
  
  .font35 {
    font-size: 32px !important;
  }
  
  /* Login and Register panels */
  .login-panel, .register-panel {
    width: 45%;
    right: -45%;
  }

  .notifications-page .table td {
    padding: 1.1rem 1rem;
  }

  .notifications-page .table td:nth-child(2) {
    max-width: 250px;
  }

  .payments-page .table td,
  .payments-page .table th {
    padding: 1.1rem 1rem;
  }

  .payments-page .table td:nth-child(1),
  .payments-page .table th:nth-child(1) {
    min-width: 180px;
  }

  .payments-page .table td:nth-child(2),
  .payments-page .table th:nth-child(2) {
    min-width: 150px;
  }

  .payments-page .table td:nth-child(5),
  .payments-page .table th:nth-child(5) {
    min-width: 160px;
  }

  .offers-table-header {
    padding: 0.8rem 0;
    font-size: 14px;
  }

  .offers-table-row {
    padding: 1rem 0;
    min-width: 900px;
  }

  .offers-table-row .col {
    padding: 0.5rem 0.8rem;
    font-size: 14px;
  }

  .offer-image {
    width: 50px;
    height: 50px;
  }

  .bulk-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 14px;
  }

  .offers-table-row .btn {
    padding: 0.4rem 0.8rem;
    font-size: 14px;
  }

  .dashboard-page h1.font40 {
    font-size: 36px !important;
  }

  .dashboard-page .text-muted {
    font-size: 15px;
  }

  .progress-card, .summary-card {
    width: 180px;
    min-height: 100px;
  }

  .progress-card .icon,
  .summary-card .icon {
    font-size: 28px;
  }

  .quick-action-card {
    width: 150px;
    height: 220px !important;
  }

  .quick-action-card .icon {
    font-size: 32px;
    padding-top: 30px;
  }

  .quick-action-card .label {
    font-size: 14px;
  }

  .table th {
    font-size: 15px;
    padding: 1rem;
  }

  .table td {
    font-size: 14px;
    padding: 1rem;
  }

  .badge {
    font-size: 13px;
    padding: 0.5rem 1rem;
  }

  .chart-container {
    height: 350px;
  }

  .recharts-wrapper {
    font-size: 13px;
  }

  .recharts-legend-item-text {
    font-size: 14px;
  }

  .recharts-tooltip-label {
    font-size: 14px;
  }

  /* DataTable Large Tablet Styles */
  .data-table-container .table tbody td {
    padding: 1.1rem 1rem;
  }

  .button-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
  }

  .button-container .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .data-table-container .table {
    border-spacing: 0 12px;
  }

  .data-table-container .table thead th {
    padding: 1rem;
    font-size: 1rem;
  }

  .data-table-container .table tbody td {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .data-table-container .status-badge {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .data-table-container .pagination {
    gap: 6px;
  }

  .data-table-container .pagination .page-link {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
  }

  .data-table-container .sortable-header {
    font-size: 1rem;
  }

  .data-table-container .sortable-header svg {
    width: 18px;
    height: 18px;
  }

  /* Sidebar and Hamburger Menu Styles */
  .app-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1001;
    background: white;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .app-header nav {
    margin-top: 0.5rem !important;
  }

  .body-wrapper-inner {
    margin-top: 70px;
  }

  .left-sidebar {
    position: fixed;
    left: -250px;
    top: 0;
    height: 100vh;
    z-index: 1002;
    transition: transform 0.3s ease-in-out;
    background: white;
  }

  body.show-sidebar .left-sidebar {
    transform: translateX(250px);
  }

  .app-header .btn.ti-menu-2 {
    display: block !important;
    color: #000 !important;
    font-size: 24px !important;
    font-weight: bold !important;
  }

  .body-wrapper {
    margin-left: 0 !important;
  }

  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
  }

  body.show-sidebar .sidebar-overlay {
    display: block;
  }
  .body-wrapper .body-wrapper-inner {
    min-height: calc(100vh - 110px);
    padding-top: 0px !important;
  }
}
