:root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --math-color: #6f42c1;
            --calc-color: #e83e8c;
            --geo-color: #198754;
            --batch-color: #6f42c1;
        }
         .page-header {
            background: linear-gradient(135deg, rgba(169, 214, 229, 0.4) 0%, rgba(44, 125, 160, 0.4) 100%);
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(44, 125, 160, 0.2);
            position: relative;
            overflow: hidden;  color: var(--text-color);
        }
        .breadcrumb {
            background-color: transparent;
            padding: 0.5rem 0;
            margin-bottom: 0.5rem;
        }
        .breadcrumb-item a {
            color: var(--text-muted);
            text-decoration: none;
        }
        .breadcrumb-item.active {
            color: var(--text-color);
        }
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(44, 125, 160, 0.15);
        }
        .btn-batch {
            background-color: var(--batch-color);
            border-color: var(--batch-color);
        }
        .btn-batch:hover {
            background-color: #5a32a3;
            border-color: #5a32a3;
        }
        .coordinate-card {
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            transition: all 0.3s;
        }
        .coordinate-card.active {
            border-color: var(--geo-color);
            box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.1);
        }
        .coordinate-title {
            font-weight: 600;
            color: var(--geo-color);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
        }
        .coordinate-title i {
            margin-right: 0.5rem;
        }
        .coordinate-display {
            background-color: white;
            border-radius: 6px;
            padding: 1.25rem;
            margin-bottom: 1.5rem;
            border: 1px solid #eee;
            font-family: 'Courier New', monospace;
            font-size: 1.2rem;
            text-align: center;
            color: var(--geo-color);
        }
        .dms-display {
            font-size: 1.3rem;
            font-weight: 600;
        }
        .decimal-display {
            font-size: 1.3rem;
            font-weight: 600;
        }
        .hemisphere-selector {
            display: flex;
            justify-content: center;
            margin: 1.5rem 0;
        }
        .hemi-btn {
            padding: 0.75rem 1.5rem;
            border: 1px solid var(--border-color);
            background-color: white;
            font-weight: 600;
            transition: all 0.3s;
        }
        .hemi-btn:first-child {
            border-radius: 6px 0 0 6px;
            border-right: none;
        }
        .hemi-btn:last-child {
            border-radius: 0 6px 6px 0;
        }
        .hemi-btn.active {
            background-color: var(--geo-color);
            color: white;
            border-color: var(--geo-color);
        }
        .dms-input-group {
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }
        .dms-input-group .dms-label {
            font-weight: 600;
            color: var(--text-muted);
            min-width: 70px;
        }
        .geo-box {
            background-color: rgba(25, 135, 84, 0.05);
            border-left: 3px solid var(--geo-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        @media (max-width: 768px) {
            .dms-input-group {
                flex-wrap: wrap;
            }
        }
        .coordinate-examples {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .example-btn {
            background-color: rgba(25, 135, 84, 0.1);
            border: 1px solid rgba(25, 135, 84, 0.2);
            border-radius: 4px;
            padding: 0.5rem 0.75rem;
            font-size: 0.9rem;
            color: var(--geo-color);
            cursor: pointer;
            transition: all 0.2s;
            font-family: 'Courier New', monospace;
        }
        .example-btn:hover {
            background-color: rgba(25, 135, 84, 0.2);
            transform: translateY(-2px);
        }
        .notation-box {
            background-color: white;
            border-radius: 6px;
            padding: 1rem;
            margin: 1rem 0;
            border: 1px solid var(--border-color);
        }
        .notation-item {
            display: flex;
            margin-bottom: 0.5rem;
        }
        .notation-symbol {
            font-weight: 600;
            min-width: 60px;
        }
        .conversion-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        .conversion-table th, .conversion-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .conversion-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        .conversion-table tr:nth-child(even) {
            background-color: rgba(44, 125, 160, 0.05);
        }
        .map-container {
            position: relative;
            height: 400px;
            width: 100%;
            margin: 2rem 0;
            border-radius: 6px;
            overflow: hidden;
            border: 1px solid var(--border-color);
        }
        .leaflet-container {
            font-family: inherit;
            border-radius: 6px;
        }
        .map-controls {
            position: absolute;
            top: 10px;
            right: 10px;
            z-index: 1000;
            background: white;
            padding: 5px;
            border-radius: 4px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
        .batch-card {
            border-color: var(--batch-color);
        }
        .batch-card.active {
            border-color: var(--batch-color);
            box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.1);
        }
        .batch-title {
            color: var(--batch-color);
        }
        .batch-input {
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
            min-height: 200px;
        }
        .batch-input-examples {
            font-size: 0.85rem;
            color: var(--text-muted);
        }
        .batch-table-container {
            max-height: 400px;
            overflow-y: auto;
            margin: 1rem 0;
            border: 1px solid var(--border-color);
            border-radius: 6px;
        }
        .batch-table {
            width: 100%;
            border-collapse: collapse;
            margin: 0;
        }
        .batch-table th {
            position: sticky;
            top: 0;
            background-color: var(--light-gray);
            z-index: 10;
        }
        .batch-table th, .batch-table td {
            padding: 0.75rem;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }
        .batch-table tr:hover {
            background-color: rgba(44, 125, 160, 0.05);
        }
        .batch-table tr:nth-child(even) {
            background-color: rgba(44, 125, 160, 0.02);
        }
        .batch-table tr.error-row {
            background-color: rgba(220, 53, 69, 0.1);
        }
        .batch-actions {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin-top: 1rem;
        }
        .hemisphere-indicator {
            display: flex;
            align-items: center;
            margin-top: 0.5rem;
        }
        .hemi-indicator {
            padding: 0.25rem 0.75rem;
            border-radius: 4px;
            font-size: 0.9rem;
            font-weight: 600;
            background-color: var(--light-gray);
        }
        .hemi-north {
            color: #0d6efd;
        }
        .hemi-south {
            color: #fd7e14;
        }
        .hemi-east {
            color: #198754;
        }
        .hemi-west {
            color: #dc3545;
        }
        .export-buttons {
            display: flex;
            gap: 0.5rem;
            margin-top: 1rem;
        }
        .single-marker {
            background-color: #dc3545;
            border-radius: 50%;
            width: 12px;
            height: 12px;
            border: 2px solid white;
            box-shadow: 0 0 0 2px #dc3545;
        }
        .batch-marker {
            background-color: #6f42c1;
            border-radius: 50%;
            width: 10px;
            height: 10px;
            border: 2px solid white;
            box-shadow: 0 0 0 2px #6f42c1;
        }