:root {
    --primary-color: #dc3545;
    --secondary-color: #28a745;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.card {
    border: none;
    border-radius: 15px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.btn {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.progress {
    height: 10px;
    border-radius: 5px;
}

.progress-bar {
    border-radius: 5px;
}

/* Navigation enhancements */
.navbar-dark {
    background: linear-gradient(135deg, #343a40 0%, #495057 100%) !important;
}

.navbar-brand {
    font-weight: 600;
}

.dropdown-item.active {
    background-color: #dc3545;
    border-color: #dc3545;
}

/* Terms and Privacy page styles */
.terms-content section, .privacy-content section {
    border-left: 4px solid #007bff;
    padding-left: 1rem;
    margin-bottom: 2rem;
}

.terms-content h3, .privacy-content h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Contact page styles */
.contact-info .card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Flag icons */
.flag-icon {
    border-radius: 2px;
    margin-right: 0.5rem;
}

/* Modal enhancements */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
    border-radius: 15px 15px 0 0;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
    }
    
    .terms-content section, .privacy-content section {
        border-left: none;
        padding-left: 0;
        border-top: 3px solid #007bff;
        padding-top: 1rem;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .input-group {
        flex-direction: row;
		align-items: stretch; /* Align heights */
    }
	
    .input-group input {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 1.1rem; /* Slightly larger text */
        padding: 14px 16px; /* More touch-friendly */
    }
    
    .input-group .btn {
        width: auto;
        margin-top: 10px;
        align-self: flex-end;
    }
}

/* PWA install prompt */
#installPrompt {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
}

/* Loading animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1.5s infinite;
}