|
- :root {
- --color-bg: #f4f6fb;
- --color-surface: #ffffff;
- --color-text: #1f2430;
- --color-text-muted: #6b7280;
- --color-border: #e3e7ef;
- --color-primary: #2f5fe0;
- --color-primary-dark: #1a1a2e;
- --color-accent: #4ea1ff;
- --radius: 0.6rem;
- --shadow-sm: 0 0.1rem 0.3rem rgba(20, 24, 40, 0.06);
- --shadow-md: 0 0.6rem 1.8rem rgba(20, 24, 40, 0.08);
- }
-
- body {
- font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
- background: var(--color-bg);
- color: var(--color-text);
- }
-
- a {
- color: var(--color-primary);
- }
-
- .main {
- padding: 3rem 0 5rem;
- }
-
- .main .container {
- max-width: 112rem;
- }
-
- /* Header / nav */
-
- .site-header {
- background: var(--color-primary-dark);
- box-shadow: var(--shadow-md);
- position: sticky;
- top: 0;
- z-index: 20;
- }
-
- .site-nav {
- display: flex;
- align-items: center;
- gap: 2rem;
- max-width: 112rem;
- margin: 0 auto;
- padding: 1.2rem 2rem;
- }
-
- .site-nav-brand a {
- color: #fff;
- font-size: 1.8rem;
- font-weight: 700;
- letter-spacing: 0.02rem;
- text-decoration: none;
- }
-
- .site-nav-brand span {
- color: var(--color-accent);
- }
-
- .site-nav-links {
- display: flex;
- gap: 1.5rem;
- margin: 0;
- padding: 0;
- list-style: none;
- flex: 1;
- }
-
- .site-nav-links a {
- color: #c3c8da;
- text-decoration: none;
- font-size: 1.4rem;
- font-weight: 500;
- transition: color 0.15s ease;
- }
-
- .site-nav-links a:hover {
- color: #fff;
- }
-
- .site-app-switcher {
- position: relative;
- }
-
- .site-app-switcher-toggle {
- background: transparent;
- border: 1px solid var(--color-accent);
- color: var(--color-accent);
- border-radius: var(--radius);
- padding: 0.6rem 1.4rem;
- font-size: 1.3rem;
- font-family: inherit;
- cursor: pointer;
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .site-app-switcher-toggle:hover {
- background: var(--color-accent);
- color: var(--color-primary-dark);
- }
-
- .site-app-switcher-menu {
- display: none;
- position: absolute;
- right: 0;
- top: calc(100% + 0.5rem);
- background: var(--color-surface);
- border-radius: var(--radius);
- box-shadow: var(--shadow-md);
- list-style: none;
- margin: 0;
- padding: 0.5rem 0;
- min-width: 16rem;
- z-index: 10;
- }
-
- .site-app-switcher-menu li a {
- display: block;
- padding: 0.8rem 1.5rem;
- color: var(--color-text);
- text-decoration: none;
- font-size: 1.4rem;
- }
-
- .site-app-switcher-menu li a:hover {
- background: var(--color-bg);
- }
-
- .site-app-switcher.is-open .site-app-switcher-menu {
- display: block;
- }
-
- /* Page content */
-
- .content {
- background: var(--color-surface);
- border: 1px solid var(--color-border);
- border-radius: var(--radius);
- box-shadow: var(--shadow-sm);
- padding: 3rem;
- }
-
- .page-header {
- margin-bottom: 2.5rem;
- padding-bottom: 1.5rem;
- border-bottom: 1px solid var(--color-border);
- }
-
- .page-header h1 {
- margin-bottom: 0.5rem;
- }
-
- .page-header p {
- color: var(--color-text-muted);
- margin: 0;
- }
-
- .content h1 {
- font-weight: 700;
- letter-spacing: -0.01rem;
- }
-
- /* Leaflet map */
-
- .leaflet-map {
- border-radius: var(--radius);
- border: 1px solid var(--color-border);
- box-shadow: var(--shadow-sm);
- overflow: hidden;
- }
-
- /* Territories list */
-
- .territory-list {
- margin-top: 2.5rem;
- }
-
- .territory-list h2 {
- font-size: 1.8rem;
- margin-bottom: 1rem;
- }
-
- .territory-list-empty {
- color: var(--color-text-muted);
- }
-
- .territory-table {
- width: 100%;
- border-collapse: collapse;
- font-size: 1.4rem;
- }
-
- .territory-table th,
- .territory-table td {
- text-align: left;
- padding: 1rem 1.2rem;
- border-bottom: 1px solid var(--color-border);
- }
-
- .territory-table th {
- color: var(--color-text-muted);
- font-weight: 600;
- text-transform: uppercase;
- font-size: 1.1rem;
- letter-spacing: 0.03rem;
- }
-
- .territory-table tbody tr:hover {
- background: var(--color-bg);
- }
-
- .button-link {
- background: var(--color-primary);
- color: #fff;
- border: none;
- border-radius: var(--radius);
- padding: 0.6rem 1.4rem;
- font-size: 1.3rem;
- font-family: inherit;
- cursor: pointer;
- transition: background 0.15s ease;
- }
-
- .button-link:hover {
- background: var(--color-primary-dark);
- }
-
- .button-link:disabled {
- background: var(--color-text-muted);
- cursor: default;
- }
-
- /* Address markers */
-
- .leaflet-div-icon.address-marker-icon {
- display: flex;
- align-items: center;
- justify-content: center;
- background: #e0442f;
- color: #fff;
- border-radius: 50%;
- border: 2px solid #fff;
- box-shadow: var(--shadow-sm);
- font-size: 1.3rem;
- line-height: 1;
- }
-
- /* Footer */
-
- .site-footer {
- max-width: 112rem;
- margin: 0 auto;
- padding: 2.5rem 2rem;
- text-align: center;
- color: var(--color-text-muted);
- font-size: 1.3rem;
- border-top: 1px solid var(--color-border);
- }
|