* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remove all button borders and outlines globally */
button, input[type="button"], input[type="submit"], input[type="reset"] {
    border: none !important;
    outline: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
}

button:focus, button:active, button:hover {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
}

button:focus-visible {
    outline: none !important;
    border: none !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    height: 100vh;
    overflow: hidden;
}

#map {
    height: 100vh;
    width: 100%;
}

/* New Compact Speed Display */
.speed-display-new {
    position: fixed;
    top: 20px;
    left: 80px; /* Space for map zoom controls */
    right: 180px; /* Space for right buttons */
    margin: 0 auto;
    width: auto;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
}

.speed-row-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.speed-item-new {
    text-align: center;
    flex: 1;
}

.speed-value-new {
    font-size: 28px;
    font-weight: bold;
    color: #1976D2;
    line-height: 1;
    text-align: center;
}

.speed-label-new {
    font-size: 11px;
    color: #666;
    margin-top: 4px;
    text-align: center;
    font-weight: 500;
    line-height: 1.2;
}

.speed-divider {
    color: #ddd;
    font-size: 20px;
    margin: 0 8px;
}

.recommendation-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
}

.rec-icon {
    font-size: 16px;
}

.rec-arrow {
    color: #4CAF50;
    font-weight: bold;
    font-size: 14px;
}

.rec-value {
    font-size: 28px;
    font-weight: bold;
    color: #4CAF50;
    text-align: center;
}

/* Section Info */
.section-info {
    border-top: 1px solid #eee;
    padding-top: 12px;
    margin-top: 8px;
}

.section-name {
    font-size: 13px;
    color: #666;
    text-align: center;
    margin-bottom: 8px;
}

.progress-container {
    position: relative;
}

.progress-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    border-radius: 3px;
    transition: width 0.5s ease;
    width: 0%;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #888;
}

/* Smart Control Button */
.control-button-smart {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.btn-large {
    background: linear-gradient(135deg, #1976D2, #0D47A1);
    color: white;
    border: none !important;
    outline: none !important;
    border-radius: 25px;
    padding: 18px 32px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 160px;
}

.btn-large:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(25, 118, 210, 0.4);
}

.btn-large:active {
    transform: scale(0.98);
}

/* Small button state (when tracking) */
.btn-small {
    background: linear-gradient(135deg, #F44336, #D32F2F);
    padding: 12px 20px;
    font-size: 14px;
    min-width: 100px;
    border-radius: 20px;
}

.btn-small:hover {
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
}

.speed-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.speed-item {
    text-align: center;
}

.speed-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.speed-value {
    font-size: 24px;
    font-weight: bold;
}

#current-speed {
    color: #1976D2;
}

#average-speed {
    color: #4CAF50;
}

#average-speed.warning {
    color: #FF9800;
}

#average-speed.danger {
    color: #F44336;
}

.info-box {
    background: #F5F5F5;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-row span:last-child {
    font-weight: bold;
}

/* Auto-guidance panel */
.auto-guidance-box {
    background: linear-gradient(135deg, #E3F2FD, #F3E5F5);
    border: 2px solid #2196F3;
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
}

.auto-guidance-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.auto-guidance-icon {
    font-size: 18px;
    animation: pulse-glow 2s infinite;
}

.auto-guidance-label {
    font-weight: bold;
    color: #1565C0;
    font-size: 14px;
}

.auto-guidance-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auto-guidance-target {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
}

.target-speed {
    font-weight: bold;
    color: #1976D2;
    font-size: 18px;
}

.target-reason {
    color: #666;
    font-size: 14px;
}

.auto-guidance-status {
    font-size: 12px;
    color: #4CAF50;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auto-guidance-status.active {
    color: #FF9800;
    animation: pulse 1s infinite;
}

.auto-guidance-status.warning {
    color: #F44336;
}

.recommendation-box {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid;
    text-align: center;
}

.recommendation-box.safe {
    background: #E8F5E9;
    border-color: #4CAF50;
    color: #2E7D32;
}

.recommendation-box.warning {
    background: #FFF3E0;
    border-color: #FF9800;
    color: #E65100;
}

.recommendation-box.danger {
    background: #FFEBEE;
    border-color: #F44336;
    color: #C62828;
}

.recommendation-label {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 4px;
}

#recommendation {
    font-size: 14px;
    margin-bottom: 8px;
}

#speed-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    transition: all 0.3s;
    animation: pulse-action 2s infinite;
}

#speed-action-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

#speed-action-btn.stop-action {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

#speed-action-btn.slow-action {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

#speed-action-btn.impossible-action {
    background: linear-gradient(135deg, #F44336, #D32F2F);
    animation: none;
}

@keyframes pulse-action {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

#pause-btn {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

#pause-btn.resumed {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

#history-btn {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    min-width: 120px;
}

/* Session History Modal */
#session-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    width: 100%;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.modal-header button {
    background: none;
    border: none;
    outline: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
}

#session-list {
    padding: 20px;
}

.session-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.session-item:hover {
    background: #f5f5f5;
    border-color: #1976D2;
}

.session-info h4 {
    margin: 0 0 5px 0;
    color: #333;
}

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

.session-actions {
    display: flex;
    gap: 10px;
}

.session-actions button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.resume-btn {
    background: #4CAF50;
    color: white;
}

.delete-btn {
    background: #F44336;
    color: white;
}

.control-buttons {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    min-height: 50px;
}

#tracking-btn, #pause-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    border: none !important;
    outline: none !important;
    padding: 18px 30px;
    border-radius: 30px !important;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    transition: all 0.3s;
    min-width: 180px;
    justify-content: center;
    height: 70px;
    overflow: hidden;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#tracking-btn {
    background: #1976D2;
}

#tracking-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

#tracking-btn.active {
    background: #F44336;
}

#force-zone-btn {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    animation: pulse-glow 2s infinite;
}

#force-zone-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.4);
}

@keyframes pulse-glow {
    0% { 
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
    50% { 
        box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 0 20px rgba(255, 152, 0, 0.3);
    }
    100% { 
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
}

/* Zone highlighting animations */
@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(25, 118, 210, 0.3); }
    50% { box-shadow: 0 0 20px rgba(25, 118, 210, 0.6), 0 0 30px rgba(25, 118, 210, 0.4); }
    100% { box-shadow: 0 0 5px rgba(25, 118, 210, 0.3); }
}

.active-zone-info {
    animation: glow 3s ease-in-out infinite;
}

/* Zone progress bar */
.zone-progress {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    margin: 8px 0 4px 0;
    overflow: hidden;
}

.zone-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    border-radius: 3px;
    transition: width 0.5s ease;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0%); }
    100% { transform: translateX(100%); }
}

/* Enhanced zone display */
.zone-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.zone-icon {
    font-size: 20px;
    animation: pulse 2s infinite;
}

.distance-warning {
    color: #FF9800 !important;
    font-weight: bold;
}

.distance-critical {
    color: #F44336 !important;
    font-weight: bold;
    animation: pulse 1s infinite;
}



@media (max-width: 768px) {
    /* Tablet and mobile responsive */
    .speed-display-new {
        left: 60px; /* Less space on smaller screens */
        right: 140px; /* Less space for buttons */
        min-width: 280px;
    }
}

@media (max-width: 600px) {
    /* Mobile responsive for new layout */
    .speed-display-new {
        left: 50px; /* Minimal space for zoom controls */
        right: 50px; /* Equal margins on mobile */
        min-width: auto;
        width: auto;
        padding: 12px;
    }
    
    .speed-value-new {
        font-size: 24px;
    }
    
    .speed-label-new {
        font-size: 10px;
    }
    
    .rec-value {
        font-size: 24px;
    }
    
    .section-name {
        font-size: 12px;
    }
    
    .progress-text {
        font-size: 10px;
    }
    
    /* Smart button mobile */
    .btn-large {
        padding: 16px 28px;
        font-size: 16px;
        min-width: 140px;
    }
    
    .btn-small {
        padding: 10px 18px;
        font-size: 13px;
        min-width: 90px;
    }
    
    .top-right-controls {
        top: 16px;
        right: 8px;
        gap: 6px;
    }
    
    #history-btn, #info-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
        border-radius: 18px !important;
    }
    
    #history-btn span, #info-btn span {
        font-size: 12px;
    }
    
    .locate-me-btn, .bug-report-btn {
        width: 36px;
        height: 36px;
        bottom: 16px;
    }
    
    .locate-me-btn {
        left: 16px;
    }
    
    .bug-report-btn {
        right: 16px;
    }
}


/* Locate Me Button */
.locate-me-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 43px !important;
    height: 43px !important;
    min-width: 43px !important;
    min-height: 43px !important;
    max-width: 43px !important;
    max-height: 43px !important;
    border-radius: 21.5px !important;
    background: white;
    border: none !important;
    outline: none !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    overflow: hidden;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.locate-me-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.locate-me-btn:active {
    transform: scale(0.95);
}

.locate-me-btn svg {
    width: 24px;
    height: 24px;
}


/* Bug Report Button */
.bug-report-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 43px !important;
    height: 43px !important;
    min-width: 43px !important;
    min-height: 43px !important;
    max-width: 43px !important;
    max-height: 43px !important;
    border-radius: 21.5px !important;
    background: white;
    border: none !important;
    outline: none !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    overflow: hidden;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.bug-report-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.bug-report-btn:active {
    transform: scale(0.95);
}

/* Bug Report Modal */
#bug-report-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
    padding: 20px;
}

.bug-report-content {
    background: white;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.bug-report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.bug-report-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.bug-report-header button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bug-report-body {
    padding: 20px;
}

#bug-description {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

#bug-description:focus {
    outline: none;
    border-color: #1976D2;
}

.bug-report-info {
    margin: 10px 0;
    text-align: center;
    color: #666;
}

.bug-report-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.bug-report-actions button {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: #f5f5f5;
    color: #666;
}

.btn-cancel:hover {
    background: #e0e0e0;
}

.btn-send {
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-send:hover {
    background: #1fb855;
}

.btn-send svg {
    fill: white;
}


/* Top Right Controls */
.top-right-controls {
    position: fixed;
    top: 20px;
    right: 11px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#simulation-btn, #donation-btn, #history-btn, #info-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    background: white;
    border: none !important;
    outline: none !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Simulation button special styling */
#simulation-btn {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

#simulation-btn.active {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    animation: pulse-glow 2s infinite;
}

/* Donation button special styling */
#donation-btn {
    background: white;
}

#donation-btn:hover {
    background: #f5f5f5;
    transform: scale(1.05);
}

#history-btn:hover, #info-btn:hover {
    background: #f5f5f5;
    transform: scale(1.05);
}

#history-btn:active, #info-btn:active {
    transform: scale(0.95);
}

/* Info Modal */
#info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
    padding: 20px;
}

.info-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.info-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.info-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.info-modal-header button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-modal-body {
    padding: 20px;
}

.info-section {
    margin-bottom: 20px;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-section h4 {
    margin: 0 0 8px 0;
    color: #1976D2;
    font-size: 16px;
}

.info-section p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Add to Home Screen Prompt */
.a2hs-prompt {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 0 0 20px 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 2002;
    width: 90%;
    max-width: 320px;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100%);
    }
    to {
        transform: translateX(-50%) translateY(0);
    }
}

.a2hs-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none !important;
    outline: none !important;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.a2hs-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.a2hs-icon {
    font-size: 24px;
}

.a2hs-arrow {
    font-size: 20px;
    color: #1976D2;
}

.a2hs-title {
    font-weight: bold;
    font-size: 16px;
    color: #333;
    margin-left: 8px;
}

.a2hs-steps {
    margin-bottom: 20px;
}

.a2hs-step {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.a2hs-step-number {
    font-weight: bold;
    color: #1976D2;
    min-width: 20px;
}

.a2hs-step-icon {
    font-size: 18px;
    min-width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.a2hs-step-icon svg {
    width: 18px;
    height: 18px;
}

.a2hs-step-text {
    flex: 1;
}

.a2hs-warning {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #FFF3E0;
    border: 1px solid #FF9800;
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: 12px;
    font-size: 12px;
    color: #E65100;
}

.a2hs-warning-icon {
    font-size: 14px;
    color: #FF9800;
}

.a2hs-warning-text {
    font-weight: bold;
}

.a2hs-buttons {
    display: flex;
    gap: 10px;
}

.a2hs-btn-later, .a2hs-btn-install {
    flex: 1;
    padding: 12px 16px;
    border: none !important;
    outline: none !important;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.a2hs-btn-later {
    background: #f5f5f5;
    color: #666;
}

.a2hs-btn-later:hover {
    background: #e0e0e0;
}

.a2hs-btn-install {
    background: #1976D2;
    color: white;
}

.a2hs-btn-install:hover {
    background: #1565C0;
    transform: scale(1.02);
}

@media (max-width: 400px) {
    .a2hs-prompt {
        width: 95%;
        padding: 16px;
    }
    
    .a2hs-step {
        font-size: 13px;
    }
}

/* Donation Popup */
#donation-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2003;
    padding: 20px;
}

.donation-popup-content {
    background: white;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.donation-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.donation-popup-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.donation-popup-header button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donation-popup-body {
    padding: 20px;
    text-align: center;
}

.donation-popup-body p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.donation-actions {
    margin: 20px 0;
}

.btn-donate, .btn-donate-info {
    background: linear-gradient(135deg, #0066CC, #004499);
    color: white;
    border: none !important;
    outline: none !important;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: 100%;
    margin: 8px 0;
}

.btn-donate:hover, .btn-donate-info:hover {
    background: linear-gradient(135deg, #0052A3, #003366);
    transform: scale(1.02);
}

.btn-donate-info {
    padding: 8px 16px;
    font-size: 13px;
}

.donation-note {
    margin-top: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.donation-note small {
    color: #666;
    font-size: 12px;
    font-style: italic;
}

@media (max-width: 400px) {
    .donation-popup-content {
        margin: 10px;
        max-width: none;
    }
    
    .donation-popup-body {
        padding: 16px;
    }
}