/**
 * Menu Screen CSS - Sipariş Sistemi
 * Tamamen ayrı ve modern tasarım
 */

/* Reset ve temel stiller */
.ss-menu-screen * {
    box-sizing: border-box;
}

.ss-menu-screen {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

/* Header */
.ss-header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.ss-header h1 {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.ss-header p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
}

/* Category Filter */
.ss-category-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.ss-category-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.ss-category-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.ss-category-btn.ss-category-active {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border-color: white;
}

/* Menu Grid */
.ss-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Dish Card */
.ss-dish-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.ss-dish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.ss-dish-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.ss-dish-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ss-dish-card:hover .ss-dish-image img {
    transform: scale(1.05);
}

.ss-dish-content {
    padding: 20px;
}

.ss-dish-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
}

.ss-dish-description {
    color: #666;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.ss-dish-ingredients {
    margin: 0 0 15px 0;
}

.ss-dish-ingredients strong {
    color: #333;
}

.ss-dish-ingredients p {
    color: #666;
    margin: 5px 0 0 0;
    font-size: 0.9rem;
}

.ss-dish-nutrition {
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #e9ecef;
}

.ss-dish-nutrition strong {
    color: #333;
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ss-nutrition-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

/* Responsive nutrition grid */
@media (max-width: 768px) {
    .ss-nutrition-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .ss-nutrition-item {
        padding: 6px 4px;
        font-size: 0.7rem;
    }
    
    .ss-nutrition-item strong {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .ss-nutrition-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
    
    .ss-nutrition-item {
        padding: 4px 2px;
        font-size: 0.65rem;
    }
    
    .ss-nutrition-item strong {
        font-size: 0.6rem;
    }
}

.ss-nutrition-item {
    background: white;
    padding: 8px 6px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.75rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.ss-nutrition-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.ss-nutrition-item strong {
    display: block;
    color: #495057;
    font-size: 0.7rem;
    margin-bottom: 2px;
    font-weight: 500;
}

.ss-dish-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #28a745;
    margin: 0 0 15px 0;
}

/* Dish Actions */
.ss-dish-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.ss-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 40px;
    font-size: 0.9rem;
}

.ss-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ss-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ss-btn-minus {
    background: #dc3545;
}

.ss-btn-minus:hover:not(:disabled) {
    background: #c82333;
}

.ss-btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
    transition: all 0.2s ease;
}

.ss-btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 15px -3px rgba(16, 185, 129, 0.3);
}

.ss-btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(107, 114, 128, 0.2);
    transition: all 0.2s ease;
}

.ss-btn-secondary:hover {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 15px -3px rgba(107, 114, 128, 0.3);
}

.ss-quantity {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    min-width: 30px;
    text-align: center;
}

/* Cart Sidebar */
.ss-cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 99996;
    display: flex;
    flex-direction: column;
}

.ss-cart-sidebar.open {
    right: 0;
}

.ss-cart-header {
    background: #007bff;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ss-cart-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.ss-cart-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ss-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.ss-cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.ss-cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.ss-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ss-cart-item-details {
    flex: 1;
}

.ss-cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.ss-cart-item-price {
    color: #28a745;
    font-weight: 500;
}

.ss-cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ss-cart-item-qty {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.ss-btn-small {
    padding: 5px 10px;
    min-width: 30px;
    font-size: 0.9rem;
}

.ss-cart-total {
    background: #f8f9fa;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.ss-cart-actions {
    padding: 20px;
    display: flex;
    gap: 10px;
}

/* Cart Toggle */
.ss-cart-toggle {
    position: fixed;
    bottom: 80px;
    right: 30px;
    background: #33a3e7;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 99995;
}

.ss-cart-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.ss-cart-icon {
    font-size: 1.5rem;
}

.ss-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    display: none;
}

.ss-cart-count:not([style*="display: none"]) {
    display: flex !important;
}

/* Modal */
.ss-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999990;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.ss-modal.open,
.ss-modal.ss-modal-open {
    opacity: 1;
    visibility: visible;
}

.ss-modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 550px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ss-modal.open .ss-modal-content,
.ss-modal.ss-modal-open .ss-modal-content {
    transform: scale(1) translateY(0);
}

.ss-modal-header {
    padding: 24px 24px 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px 16px 0 0;
}

.ss-modal-header h2,
.ss-modal-header h3 {
    margin: 0;
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.ss-modal-close {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #64748b;
    padding: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    font-weight: 600;
}

.ss-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #1e293b;
    transform: scale(1.1);
}

.ss-modal-body {
    padding: 24px;
}

.ss-modal-footer {
    padding: 20px 24px 24px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #f8fafc;
    border-radius: 0 0 16px 16px;
}

/* Form Styles */
.ss-order-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 15px;
}

.ss-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ss-form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
    padding: 0px;
    letter-spacing: -0.025em;
}

.ss-form-group input {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
    color: #1f2937;
    font-weight: 500;
}

.ss-form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: #fafbfc;
}

.ss-form-group input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}



.ss-order-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 20px;
    margin: 1px 0;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.ss-order-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1rem;
    color: #475569;
}

.ss-order-summary-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.2rem;
    color: #ff0000;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 2px solid #ff0000;
}

.ss-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

/* Thank You Modal */
.ss-thank-you-message {
    text-align: center;
    padding: 20px 0;
}

.ss-thank-you-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
    animation: bounce 0.6s ease;
}

.ss-thank-you-message h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.ss-thank-you-message p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1rem;
}

.ss-order-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
    font-size: 1.3rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    text-align: center;
}

.ss-thank-you-note {
    font-size: 0.9rem;
    color: #888;
    margin-top: 15px;
    font-style: italic;
}

.ss-track-order {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.ss-track-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Loading Overlay */
.ss-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.ss-loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.ss-loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 25px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ss-loading-overlay p {
    color: white;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 500;
}

/* Notifications */
.ss-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 999999;
    max-width: 400px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.ss-notification-content {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.ss-notification-message {
    flex: 1;
    color: #333;
}

.ss-notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ss-notification-error {
    border-left: 4px solid #dc3545;
}

.ss-notification-success {
    border-left: 4px solid #28a745;
}

/* No dishes message */
.ss-no-dishes {
    text-align: center;
    padding: 40px;
    color: #666;
    grid-column: 1 / -1;
}

/* Receipt Modal */
.ss-receipt-content {
    padding: 20px;
    text-align: center;
}

.ss-receipt-actions {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ss-menu-screen {
        padding: 15px;
        padding-bottom: 80px; /* Ensure bottom spacing for mobile */
    }
    
    .ss-header h1 {
        font-size: 2rem;
    }
    
    .ss-menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .ss-cart-sidebar {
        width: 100%;
        right: -100%;
        padding-bottom: 60px; /* Add bottom padding for mobile browser UI */
    }
    
    .ss-cart-toggle {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .ss-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .ss-category-filter {
        gap: 8px;
    }
    
    .ss-category-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Ensure checkout button is always accessible on mobile */
    .ss-cart-actions {
        padding-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .ss-menu-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .ss-dish-content {
        padding: 15px;
    }
    
    .ss-header h1 {
        font-size: 1.8rem;
    }
    
    .ss-cart-actions {
        flex-direction: column;
        padding-bottom: 80px; /* Add bottom padding for mobile browser UI */
    }
    
    .ss-form-actions {
        flex-direction: column;
    }
    
    /* Ensure cart sidebar has proper bottom spacing on mobile */
    .ss-cart-sidebar {
        padding-bottom: 80px;
    }
    
    /* Add bottom margin to the entire menu screen on mobile */
    .ss-menu-screen {
        padding-bottom: 100px;
    }
}

/* GPS Permission Modal Styles */
.ss-gps-permission-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.ss-gps-permission-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.ss-gps-permission-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 1000000 !important;
    animation: modalSlideIn 0.3s ease-out;
    margin: 0 auto;
    transform: translateX(0);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ss-gps-permission-header {
    text-align: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid #eee;
}

.ss-gps-permission-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.ss-gps-permission-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
}

.ss-gps-permission-body {
    padding: 30px;
}

.ss-gps-permission-body p {
    margin: 0 0 25px 0;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.5;
    text-align: center;
}

.ss-gps-permission-info {
    margin: 25px 0;
}

.ss-info-item {
    display: flex;
    align-items: center;
    margin: 15px 0;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.ss-info-icon {
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.ss-info-item span:last-child {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
}

.ss-gps-permission-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 30px 0;
}

.ss-gps-allow-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.ss-gps-allow-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.ss-gps-allow-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ss-gps-skip-btn {
    background: transparent;
    color: #6c757d;
    border: 2px solid #dee2e6;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ss-gps-skip-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #495057;
}

.ss-btn-icon {
    font-size: 18px;
}

.ss-gps-permission-help {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    text-align: center;
}

.ss-gps-permission-help p {
    margin: 0;
    color: #856404;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* GPS Permission Success/Error Messages */
.ss-gps-permission-success,
.ss-gps-permission-error {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    max-width: 400px;
    width: 90%;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Responsive Design for GPS Modal */
@media (max-width: 768px) {
    .ss-gps-permission-content {
        width: 95%;
        margin: 0 auto;
        max-height: 85vh;
    }
    
    .ss-gps-permission-header {
        padding: 25px 20px 15px;
    }
    
    .ss-gps-permission-header h2 {
        font-size: 1.5rem;
    }
    
    .ss-gps-permission-body {
        padding: 20px;
    }
    
    .ss-gps-permission-body p {
        font-size: 1rem;
    }
    
    .ss-info-item {
        padding: 10px 12px;
        margin: 10px 0;
    }
    
    .ss-info-item span:last-child {
        font-size: 0.9rem;
    }
    
    .ss-gps-permission-buttons {
        margin: 20px 0;
    }
    
    .ss-gps-allow-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .ss-gps-skip-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .ss-gps-permission-content {
        width: 98%;
        margin: 0 auto;
        border-radius: 12px;
    }
    
    .ss-gps-permission-header {
        padding: 20px 15px 10px;
    }
    
    .ss-gps-permission-icon {
        font-size: 40px;
        margin-bottom: 10px;
    }
    
    .ss-gps-permission-header h2 {
        font-size: 1.3rem;
    }
    
    .ss-gps-permission-body {
        padding: 15px;
    }
    
    .ss-gps-permission-body p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .ss-info-item {
        padding: 8px 10px;
        margin: 8px 0;
    }
    
    .ss-info-icon {
        font-size: 18px;
        margin-right: 10px;
    }
    
    .ss-info-item span:last-child {
        font-size: 0.85rem;
    }
    
    .ss-gps-permission-buttons {
        margin: 15px 0;
        gap: 10px;
    }
    
    .ss-gps-allow-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .ss-gps-skip-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .ss-gps-permission-help {
        margin-top: 15px;
        padding: 12px;
    }
    
    .ss-gps-permission-help p {
        font-size: 0.85rem;
    }
}
