/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    padding: 0.75rem 0;
    color: white;
}

.header-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.logo i {
    font-size: 2rem;
    color: #ffd700;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin: 0;
}

/* Subtitle removed to save space */

/* Main Content */
.main-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 0 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
}

/* Map Container */
.map-container {
    position: relative;
    height: 500px;
    background: #f8f9fa;
    flex: 1;
    min-height: 500px;
}

#map {
    width: 100%;
    height: 100%;
    background: #e9ecef;
    position: relative;
    min-height: 500px;
    display: block;
}

/* Map fallback when Leaflet is not loaded */
#map:empty::before {
    content: "Loading map...";
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6c757d;
    font-size: 1.2rem;
}

/* Initial Submit Section */
.initial-submit-section {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.show-form-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.show-form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.show-form-btn i {
    font-size: 1.2rem;
}

/* Control Panel */
.control-panel {
    background: #f8f9fa;
    padding: 2rem;
    border-top: 1px solid #e9ecef;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-header {
    text-align: center;
    margin-bottom: 2rem;
}

.panel-header h2 {
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.panel-header p {
    color: #6c757d;
    font-size: 1rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control select {
    cursor: pointer;
}

.form-control textarea {
    resize: vertical;
    min-height: 80px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Zone Display */
.zone-display {
    background: #e8f5e8;
    border: 2px solid #28a745;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    margin-top: 0.5rem;
}

.zone-placeholder {
    color: #6c757d;
    font-style: italic;
}

/* Manual Location */
.manual-location {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px dashed #dee2e6;
}

.location-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: nowrap;
}

.location-buttons .location-btn,
.location-buttons .place-pin-btn {
    flex: 1 !important;
    padding: 0.75rem 1.5rem !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

.place-pin-btn {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    flex: 1;
    box-sizing: border-box;
    margin: 0;
}

.place-pin-btn:hover {
    background: #138496;
    transform: translateY(-1px);
}

/* Pin note removed to save space */

/* Zone Legend */
.zone-legend {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Map Legend */
.map-legend {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 250px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.map-legend h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.map-legend .legend-items {
    gap: 0.5rem;
}

.map-legend .legend-item {
    padding: 0.4rem;
    font-size: 0.9rem;
}

.map-legend .legend-color {
    width: 16px;
    height: 16px;
}

.zone-legend h3 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.legend-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: #f8f9fa;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.legend-color.good {
    background: #28a745;
}

.legend-color.warning {
    background: #ffc107;
}

.legend-color.critical {
    background: #dc3545;
}

.legend-item span {
    color: #333;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        margin: 0 1rem 1rem 1rem;
    }
    
    .control-panel {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .initial-submit-section {
        padding: 1rem;
    }
    
    .show-form-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .map-container {
        height: 400px;
    }
    
    .map-legend {
        display: none; /* Hide zone legend on mobile to save space */
    }
    
    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .panel-header h2 {
        font-size: 1.5rem;
    }
    
    .zone-legend {
        display: none; /* Hide standalone zone legend on mobile to save space */
    }
}

@media (max-width: 480px) {
    .main-content {
        margin: 0 0.5rem 0.5rem 0.5rem;
    }
    
    .control-panel {
        padding: 1rem;
    }
    
    .initial-submit-section {
        padding: 0.75rem;
    }
    
    .show-form-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .map-container {
        height: 350px;
    }
    
    .submit-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .zone-legend,
    .map-legend {
        display: none; /* Hide zone legends on small mobile to save space */
    }
}

/* Leaflet Map Overrides */
.leaflet-container {
    font-family: 'Inter', sans-serif;
}

.leaflet-control-attribution {
    font-size: 10px;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 4px;
}

.leaflet-control-zoom {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.leaflet-control-zoom a {
    background: white;
    color: #333;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.leaflet-control-zoom a:hover {
    background: #f8f9fa;
    color: #667eea;
}

/* Custom Marker Styles */

/* Outages List Section */
.outages-section {
    background: #f8f9fa;
    padding: 2rem 0;
    margin-top: 2rem;
}

.outages-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 1.8rem;
}

.outages-list {
    max-width: 800px;
    margin: 0 auto;
}

.outage-item {
    display: flex;
    align-items: flex-start;
    background: white;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #28a745;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.outage-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.outage-item.power {
    border-left-color: #dc3545;
}

.outage-item.internet {
    border-left-color: #007bff;
}

.outage-item.water {
    border-left-color: #17a2b8;
}

.outage-item.gas {
    border-left-color: #ffc107;
}

.outage-item.other {
    border-left-color: #6c757d;
}

.outage-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.outage-details {
    flex: 1;
}

.outage-type {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.outage-zone {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.outage-time {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.outage-description {
    color: #555;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.4;
}

.no-outages {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 2rem;
}
.start-marker {
    background: #28a745 !important;
    color: white !important;
    border: 2px solid white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    font-size: 12px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    text-align: center !important;
    line-height: 1 !important;
}

.dest-marker {
    background: #dc3545 !important;
    color: white !important;
    border: 2px solid white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    font-size: 12px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    text-align: center !important;
    line-height: 1 !important;
}

.sector-label {
    background: rgba(102, 126, 234, 0.9) !important;
    color: white !important;
    border: 2px solid white !important;
    border-radius: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    font-size: 12px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    text-align: center !important;
    line-height: 1 !important;
}

/* Search Container */
.search-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 8px;
    min-width: 300px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-box input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.search-box button {
    padding: 8px 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background: #5a6fd8;
}

/* Search Results */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1001;
}

.search-result-item {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.place-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.place-address {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.place-types {
    font-size: 11px;
    color: #999;
    font-style: italic;
}

.no-results {
    padding: 16px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Location Button */
.location-button {
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.location-button:hover {
    background: #f8f9fa;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.location-button i {
    color: #667eea;
    font-size: 16px;
}

/* Marker Info Windows */
.marker-info {
    padding: 8px;
    min-width: 200px;
}

.marker-info h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 14px;
}

.marker-info p {
    margin: 4px 0;
    font-size: 12px;
    color: #666;
}

.marker-info p strong {
    color: #333;
}

.map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.sector-info h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
}

.sector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.sector {
    padding: 0.5rem;
    background: #667eea;
    color: white;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sector:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.sector.selected {
    background: #ffd700;
    color: #333;
}

/* Selection Panel */
.selection-panel {
    padding: 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057;
}

.form-group label i {
    color: #667eea;
}

.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease;
}

.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.calculate-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.calculate-btn:active {
    transform: translateY(0);
}

/* Result Panel */
.result-panel {
    padding: 2rem;
    background: white;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.result-header i {
    font-size: 1.5rem;
    color: #28a745;
}

.result-header h3 {
    color: #333;
    font-size: 1.3rem;
}

.route-info {
    margin-bottom: 1.5rem;
}

.route-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.route-item .label {
    font-weight: 500;
    color: #6c757d;
}

.route-item .value {
    font-weight: 600;
    color: #333;
}

.fare-display {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.fare-label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.fare-amount {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.additional-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.additional-info i {
    color: #667eea;
}

/* Language Selector */
.language-selector {
    position: relative;
    z-index: 9999;
}

.language-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    z-index: 9999;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    z-index: 10000;
    border: 1px solid #e9ecef;
    pointer-events: none;
}

.language-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    display: block !important;
    position: absolute !important;
    z-index: 10000 !important;
}

/* Debug: Make sure dropdown is visible when shown */
.language-menu.show {
    background: white !important;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}

.language-option {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: #f8f9fa;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 0;
    color: #495057;
}

.language-option:first-child {
    border-radius: 10px 10px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 10px 10px;
}

.language-option:hover {
    background-color: #e9ecef;
    color: #212529;
}

.language-option.active {
    background-color: #667eea;
    color: white;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    color: white;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 0.5rem 0;
    }
    
    .header-content {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 1.75rem;
    }
    
    .logo i {
        font-size: 1.75rem;
    }
    
    /* Subtitle removed to save space */
    
    .map-container {
        height: 300px;
    }
    
    .map-overlay {
        top: 15px;
        right: 15px;
        padding: 0.75rem;
    }
    
    .sector-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }
    
    .sector {
        padding: 0.4rem;
        font-size: 0.8rem;
    }
    
    .selection-panel,
    .result-panel {
        padding: 1.5rem;
    }
    
    .fare-amount {
        font-size: 2rem;
    }
    
    /* Language selector mobile adjustments */
    .language-selector {
        position: relative;
    }
    
    .language-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .language-menu {
        min-width: 120px;
    }
    
    /* Search container mobile adjustments */
    .search-container {
        min-width: 250px;
        top: 8px;
        left: 8px;
    }
    
    .search-box input {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .search-box button {
        padding: 6px 10px;
    }
    
    .search-results {
        max-height: 250px;
    }
    
    .search-result-item {
        padding: 10px;
    }
    
    .place-name {
        font-size: 13px;
    }
    
    .place-address {
        font-size: 11px;
    }
    
    .place-types {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .header {
        padding: 0.4rem 0;
    }
    
    .header-content {
        padding: 0 10px;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .logo i {
        font-size: 1.6rem;
    }
    
    .map-container {
        height: 250px;
    }
    
    .map-overlay {
        top: 10px;
        right: 10px;
        padding: 0.5rem;
    }
    
    .sector-info h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .sector {
        padding: 0.3rem;
        font-size: 0.75rem;
    }
    
    .selection-panel,
    .result-panel {
        padding: 1rem;
    }
    
    .calculate-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .fare-amount {
        font-size: 1.8rem;
    }
    
    /* Language selector small mobile adjustments */
    .language-selector {
        position: relative;
    }
    
    .language-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .language-menu {
        min-width: 100px;
        margin-top: 0.3rem;
    }
    
    .language-option {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    /* Search container small mobile adjustments */
    .search-container {
        min-width: 200px;
        top: 5px;
        left: 5px;
        padding: 6px;
    }
    
    .search-box input {
        font-size: 12px;
        padding: 5px 8px;
    }
    
    .search-box button {
        padding: 5px 8px;
        width: 28px;
        height: 28px;
    }
    
    .search-results {
        max-height: 200px;
        margin-top: 2px;
    }
    
    .search-result-item {
        padding: 8px;
    }
    
    .place-name {
        font-size: 12px;
    }
    
    .place-address {
        font-size: 10px;
    }
    
    .place-types {
        font-size: 9px;
    }
    
    /* Location button small mobile adjustments */
    .location-button {
        width: 35px;
        height: 35px;
    }
    
    .location-button i {
        font-size: 14px;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #667eea;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Animation */
.result-panel.show {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 

/* Report Panel */
.report-panel {
    padding: 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057;
}

.form-group label i {
    color: #667eea;
}

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.location-permission {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #e3f2fd;
    border-radius: 10px;
    border-left: 4px solid #2196f3;
}

.location-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    flex: 1;
    box-sizing: border-box;
    margin: 0;
}

.location-btn:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.location-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.location-btn i {
    font-size: 1.2rem;
}

.location-note {
    font-size: 0.9rem;
    color: #1976d2;
    margin: 0;
    text-align: center;
}

.report-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.report-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.report-btn:active {
    transform: translateY(0);
}

/* Outages Panel */
.outages-panel {
    padding: 2rem;
    background: white;
    border-bottom: 1px solid #e9ecef;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.panel-header i {
    font-size: 1.5rem;
    color: #667eea;
}

.panel-header h3 {
    color: #333;
    font-size: 1.3rem;
    margin: 0;
    flex: 1;
}

.refresh-btn {
    padding: 0.5rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background: #667eea;
    color: white;
}

.outages-list {
    max-height: 400px;
    overflow-y: auto;
}

.outage-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.outage-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.outage-item.power {
    border-left: 4px solid #ffc107;
}

.outage-item.internet {
    border-left: 4px solid #17a2b8;
}

.outage-item.water {
    border-left: 4px solid #007bff;
}

.outage-item.gas {
    border-left: 4px solid #dc3545;
}

.outage-item.other {
    border-left: 4px solid #6c757d;
}

.outage-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

.outage-details {
    flex: 1;
}

.outage-type {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.outage-zone {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.outage-time {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.outage-description {
    font-size: 0.9rem;
    color: #495057;
    font-style: italic;
}

.no-outages {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-style: italic;
}

/* Success Panel */
.success-panel {
    padding: 2rem;
    background: white;
}

.success-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.success-header i {
    font-size: 1.5rem;
    color: #28a745;
}

.success-header h3 {
    color: #333;
    font-size: 1.3rem;
    margin: 0;
}

.success-content p {
    color: #495057;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.report-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item .label {
    font-weight: 500;
    color: #6c757d;
}

.summary-item .value {
    font-weight: 600;
    color: #333;
}

/* Zone Grid */
.zone-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.zone {
    padding: 0.5rem;
    background: #667eea;
    color: white;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zone:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.zone.selected {
    background: #ffc107;
    color: #333;
}

.zone.detected {
    background: #ffc107 !important;
    color: #333 !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1.05); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1.05); }
}

/* Warning Notifications */
.warning-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ffc107;
    color: #333;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 300px;
    animation: slideInRight 0.3s ease-out;
}

/* Info Notifications */
.info-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #17a2b8;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(23, 162, 184, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 300px;
    animation: slideInRight 0.3s ease-out;
} 

/* Zone Display */
.zone-display {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #e8f5e8;
    border-radius: 10px;
    border-left: 4px solid #28a745;
    animation: slideInDown 0.3s ease-out;
    transition: all 0.3s ease;
}

.detected-zone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #155724;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.detected-zone i {
    color: #28a745;
    font-size: 1.2rem;
}

.detected-zone strong {
    color: #28a745;
    font-weight: 600;
}

.zone-status {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 0.75rem;
}

.status-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.status-label {
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.status-label:contains("Good") {
    background: #d4edda;
    color: #155724;
}

.status-label:contains("Warning") {
    background: #fff3cd;
    color: #856404;
}

.status-label:contains("Critical") {
    background: #f8d7da;
    color: #721c24;
}

.outage-count {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

/* Zone Status Colors */
.zone-display[style*="background: #e8f5e8"] .status-label {
    background: #d4edda;
    color: #155724;
}

.zone-display[style*="background: #fff3cd"] .status-label {
    background: #ffeaa7;
    color: #856404;
}

.zone-display[style*="background: #f8d7da"] .status-label {
    background: #f5c6cb;
    color: #721c24;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 

/* Color Legend */
.color-legend {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    max-width: 250px;
}

.color-legend h4 {
    margin: 0 0 0.75rem 0;
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
}

.legend-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #666;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.2);
}

.legend-color.good {
    background: #28a745;
}

.legend-color.warning {
    background: #ffc107;
}

.legend-color.critical {
    background: #dc3545;
}

.legend-note {
    margin: 0.75rem 0 0 0;
    font-size: 0.75rem;
    color: #999;
    font-style: italic;
    text-align: center;
} 

/* Outage Breakdown */
.outage-breakdown {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border-left: 3px solid #6c757d;
}

.outage-breakdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.outage-breakdown-item:last-child {
    margin-bottom: 0;
}

.outage-type-icon {
    font-size: 1rem;
    min-width: 20px;
    text-align: center;
}

.outage-type-name {
    flex: 1;
    font-weight: 500;
    color: #495057;
}

.outage-type-count {
    background: #6c757d;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
} 

/* Outage Markers on Map */
.outage-marker-container {
    background: transparent !important;
}

.outage-marker {
    background: white !important;
    border: 2px solid #333 !important;
    border-radius: 50% !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    z-index: 200 !important; /* Higher than zone labels */
}

.outage-marker:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4) !important;
}

/* Specific outage type marker styles */
.outage-marker.power {
    border-color: #ffc107 !important;
    background: #fff3cd !important;
}

.outage-marker.internet {
    border-color: #17a2b8 !important;
    background: #d1ecf1 !important;
}

.outage-marker.water {
    border-color: #007bff !important;
    background: #cce7ff !important;
}

.outage-marker.gas {
    border-color: #dc3545 !important;
    background: #f8d7da !important;
}

.outage-marker.other {
    border-color: #6c757d !important;
    background: #e2e3e5 !important;
} 

/* Zone Status Markers on Map */
.zone-status-marker-container {
    pointer-events: auto !important;
}

.zone-status-marker {
    background: white !important;
    border: 3px solid #333 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 3px 6px rgba(0,0,0,0.4) !important;
    cursor: pointer !important;
    font-weight: bold !important;
    transition: all 0.2s ease !important;
    z-index: 200 !important; /* Higher than zone labels */
}

.zone-status-marker:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5) !important;
}

/* Single outage type markers */
.zone-status-marker.power {
    border-color: #ffc107 !important;
    background: #fff3cd !important;
}

.zone-status-marker.internet {
    border-color: #17a2b8 !important;
    background: #d1ecf1 !important;
}

.zone-status-marker.water {
    border-color: #007bff !important;
    background: #d1ecf1 !important;
}

.zone-status-marker.gas {
    border-color: #dc3545 !important;
    background: #f8d7da !important;
}

.zone-status-marker.other {
    border-color: #6c757d !important;
    background: #e2e3e5 !important;
}

/* Multi-outage markers */
.zone-status-marker.multi-outage {
    border-color: #dc3545 !important;
    background: #f8d7da !important;
    border-width: 4px !important;
}

.zone-status-marker.multi-outage .multi-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

/* Specific styling for multi-icon types */
.multi-icon.power {
    color: #856404 !important;
}

.multi-icon.internet {
    color: #0c5460 !important;
}

.multi-icon.water {
    color: #004085 !important;
}

.multi-icon.gas {
    color: #721c24 !important;
}

.multi-icon.other {
    color: #383d41 !important;
}

/* Zone Popup Styling */
.zone-popup {
    text-align: center;
    min-width: 200px;
}

.zone-popup h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.zone-popup h5 {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

.zone-popup p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.zone-popup small {
    color: #999;
    font-style: italic;
} 

/* Manual Location Section */
.manual-location {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #6c757d;
}

.place-pin-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.place-pin-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.place-pin-btn:disabled {
    background: #28a745;
    cursor: not-allowed;
    transform: none;
}

/* Pin note removed to save space */

/* Manual Pin Marker */
.manual-pin-marker {
    cursor: grab !important;
    transition: none !important; /* Remove transition during drag to prevent flickering */
    user-select: none !important;
    pointer-events: auto !important;
    z-index: 1000 !important; /* Ensure pin is above other elements */
}

.manual-pin-marker .pin-icon {
    width: 24px !important;
    height: 24px !important;
    background: #dc3545 !important; /* Red color for manual pin */
    border: 3px solid #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
    position: relative !important;
}

.manual-pin-marker .pin-icon::after {
    content: '' !important;
    position: absolute !important;
    bottom: -8px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 6px solid transparent !important;
    border-right: 6px solid transparent !important;
    border-top: 8px solid #dc3545 !important;
}

.manual-pin-marker:hover .pin-icon {
    background: #c82333 !important; /* Darker red on hover */
    box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
    transition: background 0.2s ease, box-shadow 0.2s ease !important;
}

.manual-pin-marker:active {
    cursor: grabbing !important;
    transition: none !important; /* No transition during active drag */
}

/* User Location Marker */
.user-location-marker {
    font-size: 18px !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)) !important;
    z-index: 999 !important; /* Below manual pin */
    pointer-events: none !important;
} 

/* Zone labels removed to save space */

/* Disabled form state after submission */
.form-control:disabled,
.form-control[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f8f9fa;
}

.location-btn:disabled,
.location-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    background: #6c757d !important;
}

.submit-btn:disabled,
.submit-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.8;
} 

/* Ensure map doesn't interfere with language dropdown */
.map-container {
    z-index: 1;
}

#map {
    z-index: 1;
}

/* Language dropdown should always be on top */
.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 9999;
} 

/* Data Sharing Section */
.data-sharing {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.data-sharing h3 {
    color: #495057;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    text-align: center;
}

.sharing-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 15px;
}

.share-btn, .import-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.share-btn:hover, .import-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.share-btn:active, .import-btn:active {
    transform: translateY(0);
}

.sharing-note {
    color: #6c757d;
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

/* Modal Styles */
.qr-modal, .share-modal, .import-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.qr-content, .share-content, .import-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.qr-content h3, .share-content h3, .import-content h3 {
    color: #333;
    margin: 0 0 20px 0;
    text-align: center;
    font-size: 1.3rem;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #6c757d;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #e9ecef;
    color: #495057;
}

/* QR Code Styles */
#qrcode {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

#qrcode canvas {
    border: 2px solid #dee2e6;
    border-radius: 8px;
}

/* Share Dialog Styles */
.url-container {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    align-items: center;
}

.url-container input {
    flex: 1;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    font-size: 0.9rem;
    background: #f8f9fa;
}

.url-container button {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.url-container button:hover {
    background: #218838;
}

/* Import Dialog Styles */
.import-content input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin: 10px 0;
    font-size: 0.9rem;
}

.import-content input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin: 10px 0;
    background: #f8f9fa;
}

.import-content button {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    margin: 5px;
    transition: background 0.3s ease;
}

.import-content button:hover {
    background: #0056b3;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    color: white;
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.notification.success {
    background: #28a745;
}

.notification.error {
    background: #dc3545;
}

.notification.info {
    background: #17a2b8;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Responsive Design for Data Sharing */
@media (max-width: 768px) {
    .sharing-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-btn, .import-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .qr-content, .share-content, .import-content {
        padding: 20px;
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .url-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .url-container button {
        width: 100%;
    }
}

/* Footer Styles */
.footer {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-content p {
    margin: 0.5rem 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.footer-content a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }
    
    .footer-content p {
        font-size: 0.85rem;
    }
} 