/**
 * desktop-scaling.css - Desktop 50% Larger Scaling Rules
 *
 * EXTRACTED FROM: weebro-ui-styles.css (lines 4996-5654)
 * EXTRACTION DATE: Jan 6, 2026
 * EXTRACTION REASON: CSS Monolith Refactor Phase 1
 *
 * PURPOSE: All UI elements scale 1.5x on desktop (>=768px) - Map excluded
 * LOAD ORDER: Must load LAST after all base feature styles
 *
 * RULE 0 COMPLIANCE: This is an EXACT line-by-line extraction.
 * No simplification, no modernization, no optimization applied.
 */

/* === DESKTOP SCALING - 50% LARGER === */
/* All UI elements scale 1.5x on desktop (>=768px) - Map excluded */
@media (min-width: 768px) {

  /* Header */
  header {
    padding: 9px 12px 0;
    margin-bottom: 22px;
  }

  .wb-logo img {
    max-width: 195px;
  }

  #backBtn,
  #shareBtn,
  .wb-menu-btn {
    width: 48px;
    height: 48px;
    padding: 7px;
    border-radius: 9px;
    border: 3px solid #000;
  }

  #backBtn svg,
  #shareBtn svg {
    width: 24px;
    height: 24px;
  }

  .wb-menu-btn {
    gap: 6px;
  }

  .wb-menu-btn span {
    height: 3px;
    border-radius: 3px;
  }

  /* Drawer */
  #wb-drawer {
    width: min(65vw, 960px);
    box-shadow: -24px 0 48px rgba(0, 0, 0, .15);
  }

  .wb-d-head {
    padding: 24px 30px;
  }

  .wb-d-title {
    font-weight: 800;
    font-size: 24px;
    letter-spacing: .3px;
  }

  .wb-d-main {
    padding: 24px 4px;
  }

  /* Menu items */
  .wb-menu-item {
    gap: 18px;
    padding: 15px 18px;
    font-size: 24px;
  }

  .wb-menu-icon {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
  }

  .wb-menu-icon svg {
    width: 29px;
    height: 29px;
  }

  .wb-menu-icon i {
    font-size: 29px;
  }

  .wb-menu-separator {
    height: 1.5px;
    margin: 12px 24px;
  }

  /* Footer Navigation */
  /* Footer Navigation (Left Sidebar on Desktop) */
  .wb-footer-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 8vw;
    height: 100vh;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px 0;
    border-top: none;
    border-right: none;
    /* Removed stark border */

    /* Glassmorphism Styles */
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* Combined Shadow: Drop shadow + Mirrored Inset Gradient (Right side, 4px offset, 7px blur) */
    box-shadow:
      3px 0 12px rgba(0, 0, 0, 0.1),
      inset -4px 0 7px -1px rgba(0, 0, 0, 0.12);

    /* Rounded Corners (Top-Right, Bottom-Right) */
    border-radius: 0 16px 16px 0;
    padding-top: 36px;
    /* Extra padding for top corner */
  }

  .wb-footer-nav-item {
    padding: 12px 6px;
    border-radius: 9px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
  }

  .wb-footer-nav-icon {
    width: 23px;
    height: 23px;
    margin-bottom: 6px;
  }

  .wb-footer-nav-icon svg {
    width: 23px;
    height: 23px;
    stroke-width: 2px;
  }

  .wb-footer-nav-icon img {
    width: 23px;
    height: 23px;
  }

  .wb-footer-nav-icon i {
    font-size: 23px;
  }

  .wb-footer-nav-text {
    font-size: 13px;
    /* Reduced from 14px to 13px */
    line-height: 1.4;
    text-align: center;
    color: #111;
    /* Black text */
  }

  /* Text Visibility Control */
  .wb-footer-nav-text.mobile-text {
    display: none !important;
  }

  .wb-footer-nav-text.desktop-text {
    display: block !important;
  }

  /* Hover Effects - Glassmorphism + Specific Colors */
  .wb-footer-nav-item {
    transition: all 0.2s ease;
    width: calc(100% - 12px) !important;
    /* Explicitly 12px narrower */
    margin: 0 auto !important;
    /* Center the item in the container */
  }

  /* Zones: Cadet Blue */
  #footer-alert-zones:hover {
    background: rgba(95, 158, 160, 0.15);
    /* Cadet Blue low opacity */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(95, 158, 160, 0.1);
  }

  /* People: Purple */
  #footer-people:hover {
    background: rgba(128, 0, 128, 0.1);
    /* Purple low opacity */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(128, 0, 128, 0.1);
  }

  /* Petitions: Dim Gray */
  #footer-petitions:hover {
    background: rgba(105, 105, 105, 0.1);
    /* Dim Gray low opacity */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(105, 105, 105, 0.1);
  }

  /* Groups: Steel Blue */
  #footer-groups:hover {
    background: rgba(70, 130, 180, 0.15);
    /* Steel Blue low opacity */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(70, 130, 180, 0.1);
  }

  /* Posts: Firebrick */
  #footer-forum:hover {
    background: rgba(178, 34, 34, 0.1);
    /* Firebrick low opacity */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(178, 34, 34, 0.1);
  }

  body {
    padding-bottom: 0 !important;
    padding-left: 8vw !important;
  }

  /* Alerts Panel */
  .wb-alerts-header {
    padding: 30px 36px;
  }

  .wb-alerts-icon {
    width: 48px;
    height: 48px;
    border-radius: 18px;
  }

  .wb-alerts-title {
    font-size: 42px;
  }

  .wb-alerts-close {
    width: 54px;
    height: 54px;
  }

  .wb-notif-section {
    margin: 36px 30px;
    border-radius: 30px;
    padding: 48px 42px;
    border: 1.5px solid #e5e7eb;
    box-shadow: -6px 6px 0px 0px #5F9EA0;
    /* Cadet blue left and bottom border - 1.5x: -4,4 -> -6,6 */
  }

  .wb-notif-section:first-child {
    margin-top: 48px;
  }

  .wb-notif-section:last-child {
    margin-bottom: 48px;
  }

  .wb-notif-heading {
    font-size: 36px;
    margin: 0 0 12px;
  }

  .wb-notif-subheading {
    font-size: 24px;
    margin: 0 0 48px;
  }

  .wb-notif-explainer {
    font-size: 13.65px;
    /* Reduced by 35%: 21px x 0.65 */
    margin: 30px 0;
    padding: 24px 30px;
    border-radius: 18px;
    box-shadow: -3px 3px 0px 0px #5F9EA0;
    /* Cadet blue left and bottom border - scaled 1.5x: -2,2 -> -3,3 */
  }

  /* Form Elements */
  .wb-form-group {
    margin-bottom: 36px;
  }

  .wb-form-label {
    font-size: 21px;
    margin-bottom: 12px;
  }

  .wb-form-input,
  .wb-form-select {
    padding: 24px 27px;
    border: 3px solid #d1d5db;
    border-radius: 18px;
    font-size: 24px;
  }

  /* Alerts panel input and placeholder override */
  #wb-alerts-panel .wb-form-input,
  #wb-alerts-panel input[type="number"] {
    font-size: 90%;
    /* 10% reduction from default 24px */
  }

  #wb-alerts-panel .wb-form-input::placeholder {
    font-size: 90%;
    /* 10% reduction from parent font-size */
  }

  .wb-form-input:focus,
  .wb-form-select:focus {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
  }

  /* Toggle Switch */
  .wb-toggle-row {
    margin-bottom: 36px;
    padding: 30px;
    border-radius: 24px;
    border: 3px solid #e2e8f0;
  }

  .wb-toggle-content {
    margin-right: 24px;
  }

  .wb-toggle-label {
    font-size: 24px;
    margin: 0 0 6px;
  }

  .wb-toggle-subtitle {
    font-size: 21px;
    line-height: 2.1;
  }

  .wb-toggle-switch {
    width: 84px;
    height: 48px;
    border-radius: 24px;
  }

  .wb-toggle-switch::after {
    top: 3px;
    left: 3px;
    width: 42px;
    height: 42px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  }

  .wb-toggle-switch.active::after {
    transform: translateX(36px);
  }

  /* Buttons - reduced by 50% */
  .wb-create-zone-btn {
    padding: 13.5px 24px;
    /* 50%: 27,48 -> 13.5,24 */
    border-radius: 12px;
    /* 50%: 24 -> 12 */
    font-size: 14px;
    box-shadow: 0 3px 9px rgba(16, 185, 129, 0.25);
    /* 50%: 6,18 -> 3,9 */
  }

  .wb-create-zone-btn:hover {
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
    /* 50%: 12,36 -> 6,18 */
  }

  /* Zone Cards */
  .wb-zone-cards {
    gap: 24px;
    margin-top: 48px;
  }

  .wb-zone-card {
    border: 3px solid #e5e7eb;
    border-radius: 30px;
    padding: 36px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  }

  .wb-zone-card:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  }

  .wb-zone-card-header {
    margin-bottom: 18px;
  }

  .wb-zone-name {
    font-size: 27px;
    margin: 0 0 9px;
  }

  .wb-zone-meta {
    font-size: 21px;
    line-height: 2.1;
  }

  .wb-zone-actions {
    gap: 12px;
  }

  .wb-zone-btn {
    padding: 12px 24px;
    border: 3px solid;
    border-radius: 18px;
    font-size: 18px;
    letter-spacing: 0.75px;
  }

  /* Error Messages */
  .wb-error-msg {
    font-size: 21px;
    margin-top: 12px;
    padding: 18px 24px;
    border-radius: 18px;
    border-left: 6px solid #dc2626;
  }

  /* Modals */
  .wb-modal-content {
    border-radius: 30px;
    padding: 48px;
    max-width: 600px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
    transform: translateY(-30px);
  }

  .wb-modal-icon {
    font-size: 72px;
    margin-bottom: 24px;
  }

  .wb-modal-title {
    font-size: 30px;
    margin: 0 0 24px;
  }

  .wb-modal-message {
    margin: 0 0 30px;
    line-height: 2.4;
  }

  .wb-modal-benefits {
    margin: 0 0 36px;
  }

  .wb-modal-benefits li {
    gap: 18px;
    padding: 15px 24px;
    border-radius: 12px;
    margin-bottom: 12px;
  }

  .wb-modal-benefits li i {
    font-size: 24px;
  }

  .wb-modal-buttons {
    gap: 18px;
    margin-top: 36px;
  }

  .wb-modal-btn {
    padding: 21px 30px;
    border: 3px solid;
    border-radius: 18px;
    font-size: 21px;
    letter-spacing: 0.75px;
  }

  /* Logout Modal */
  .wb-logout-content {
    border-radius: 30px;
    padding: 48px;
    max-width: 540px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
  }

  .wb-logout-title {
    font-size: 30px;
    margin: 0 0 30px;
  }

  .wb-logout-buttons {
    gap: 18px;
    margin-top: 36px;
  }

  .wb-logout-btn {
    padding: 21px 30px;
    border: 3px solid #000;
    border-radius: 18px;
    font-size: 21px;
    letter-spacing: 0.75px;
  }

  /* Notification Modal */
  .wb-notification-content {
    border-radius: 30px;
    padding: 48px;
    max-width: 750px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
  }

  .wb-notification-header {
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 3px solid #e5e7eb;
  }

  .wb-notification-title {
    font-size: 33px;
  }

  .wb-notification-close {
    width: 48px;
    height: 48px;
    font-size: 36px;
  }

  .wb-notification-master {
    padding: 24px;
    border-radius: 18px;
    margin-bottom: 36px;
    border: 3px solid #10b981;
  }

  .wb-notification-item {
    padding: 24px 0;
    border-bottom: 1.5px solid #e5e7eb;
  }

  .wb-notification-info {
    padding-right: 24px;
  }

  .wb-notification-label {
    gap: 12px;
    font-size: 24px;
    margin-bottom: 6px;
  }

  .wb-notification-desc {
    font-size: 19px;
    line-height: 2.25;
  }

  .wb-toggle {
    width: 78px;
    height: 42px;
  }

  .wb-toggle-slider {
    border-radius: 42px;
  }

  .wb-toggle-slider:before {
    height: 33px;
    width: 33px;
    left: 4px;
    bottom: 4px;
  }

  .wb-toggle input:checked+.wb-toggle-slider:before {
    transform: translateX(36px);
  }

  /* Visual separators */
  .wb-bold-line-break {
    height: 3px;
    margin: 60px auto;
    border-radius: 1.5px;
  }

  /* Update Toast */
  .wb-update-toast {
    bottom: 30px;
    padding: 24px 36px;
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
    gap: 18px;
    font-size: 21px;
  }

  .wb-update-toast button {
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 18px;
  }

  /* Splash Screen */
  .wb-splash-logo {
    width: 300px;
  }

  /* Loading states */
  .wb-loading-state {
    padding: 72px 36px;
  }

  .wb-loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #3b82f6;
    margin-bottom: 24px;
  }
}
