/* App Mode Styles - Simplified UI for Android App Users */

.app-mode {
    /* More compact spacing */
    --spacing-large: 30px;
}

/* Simplify header for app */
.app-mode header {
    padding: 20px 15px 15px;
    margin-bottom: 20px;
}

.app-mode header h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.app-mode header .tagline {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* More compact cards */
.app-mode .card {
    padding: 20px;
    margin-bottom: 20px;
}

.app-mode .card h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Compact filter sections */
.app-mode .filter-section {
    margin-bottom: 20px;
}

.app-mode .filter-section h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.app-mode .filter-grid {
    gap: 10px;
}

.app-mode .filter-checkbox {
    padding: 10px 15px;
    font-size: 0.9rem;
}

/* Buttons more touch-friendly */
.app-mode .btn {
    min-height: 48px;
    font-size: 1rem;
}

.app-mode .btn-large {
    min-height: 56px;
    font-size: 1.1rem;
}

/* Input fields */
.app-mode .input-field {
    padding: 14px;
    font-size: 1rem;
}

/* Radius selector more compact */
.app-mode .radius-selector {
    margin-top: 15px;
    padding: 12px;
}

/* Results screen optimized for app */
.app-mode #result-details {
    padding: 15px;
}

.app-mode #result-details h3 {
    font-size: 1.5rem;
}

.app-mode .result-info {
    padding: 15px;
}

.app-mode .result-info p {
    margin: 8px 0;
}

/* Hide footer completely in app mode */
.app-mode .footer {
    display: none !important;
}

.app-mode .footer p {
    display: none !important;
}

.app-mode .footer-tagline {
    display: none !important;
}

/* Hide SEO content in app (not needed) */
.app-mode .seo-content {
    display: none !important;
}

/* Hide the app mode toggle button once app mode is active */
.app-mode #app-mode-toggle {
    display: none !important;
}

/* Optimize wheel animation for mobile */
.app-mode #wheel-container {
    max-width: 280px;
    margin: 0 auto;
}

/* Make action buttons full-width on small screens in app */
@media (max-width: 600px) {
    .app-mode .btn-primary,
    .app-mode .btn-accent,
    .app-mode .btn-large {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .app-mode .card {
        padding: 15px;
    }

    .app-mode header {
        padding: 15px 10px 10px;
    }

    .app-mode header h1 {
        font-size: 1.6rem;
    }
}

/* Smooth transitions for app mode activation */
.app-mode * {
    transition: padding 0.2s ease, margin 0.2s ease, font-size 0.2s ease;
}

/* Loading state for app */
.app-mode.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success states more prominent in app */
.app-mode .success {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: white;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

/* Error states */
.app-mode .error {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* Make divider more subtle */
.app-mode .divider {
    margin: 15px 0;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Restaurant images optimized */
.app-mode #restaurant-image {
    border-radius: 12px;
    max-height: 200px;
    object-fit: cover;
}

/* Info items more compact */
.app-mode .info-item {
    padding: 10px;
    margin: 8px 0;
    border-radius: 8px;
}

/* Map button prominent */
.app-mode #get-directions {
    background: linear-gradient(135deg, #4285f4 0%, #3367d6 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.app-mode #get-directions:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(66, 133, 244, 0.4);
}
