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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

[hidden] {
    display: none !important;
}

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

/* Navigation Bar */
.navbar {
    background: linear-gradient(
        135deg,
        rgba(6, 64, 43, 0.9),
        rgba(34, 197, 94, 0.75)
    );

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 8px 32px rgba(34, 197, 94, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-items {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-item {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    transform: translateY(-2px);
}

.nav-item i {
    margin-right: 8px;
}

.nav-brand {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-brand i {
    margin-right: 10px;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 350px;
    margin: 0 20px;
}

.search-container input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: none;
    border-radius: 25px;
    outline: none;
}

.search-container button {
    position: absolute;
    right: 5px;
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    padding: 5px 10px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1666969565832-b55bf42a900d?q=80&w=2071&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    background: rgba(6, 64, 43, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 15px;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow:
        0 8px 32px rgba(6, 64, 43, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button:hover {
    background: rgba(6, 64, 43, 0.35);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 40px rgba(6, 64, 43, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step {
    background: rgba(6, 64, 43, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(6, 64, 43, 0.15);
    transition: all 0.4s ease;
    cursor: pointer;
}

.step:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(6, 64, 43, 0.2);
    box-shadow: 0 20px 40px rgba(6, 64, 43, 0.25);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(
        135deg, 
        rgba(6, 64, 43, 0.9),
        rgba(34, 197, 94, 0.8)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.step p {
    color: #666;
    line-height: 1.6;
}
.step:hover .step-icon {
    transform: scale(1.15);
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.45);
}

/* About Us Section */
.about-us {
    padding: 80px 0;
    background: linear-gradient(
        135deg,
        rgba(6, 64, 43, 0.95),
        rgba(34, 197, 94, 0.85)
    );
    color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.about-text {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #06402b, #0b5f3d);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #bdc3c7;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Map Controls */
.map-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.control-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: #85d4b3;
    transform: translateY(-2px);
}

.filter-container {
    position: relative;
}

.filter-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
}

.filter-dropdown.show {
    display: block;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.filter-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

.apply-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-weight: 500;
}

/* Map and Business Container */
.map-business-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: calc(100vh - 140px);
}

.map-section {
    position: relative;
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
}

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

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
    font-size: 1.2rem;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ccc;
}

.business-list-section {
    background: white;
    display: flex;
    flex-direction: column;
}

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

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

.view-toggle {
    display: flex;
    gap: 10px;
}

.view-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

/* Business List */
.business-list {
    flex: 1;
    overflow-y: auto;
}

.business-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    transition: background 0.3s ease;
}

.business-item:hover {
    background: #f8f9fa;
}

.business-info h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #333;
}

.business-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.business-rating i {
    color: #ffc107;
}

.business-category, .business-price, .business-distance {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

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

.favorite-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.favorite-btn:hover, .favorite-btn.active {
    color: #c82333;
}

.details-btn {
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.details-btn:hover {
    background: #5a67d8;
}

/* Business Details Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

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

.modal-header h2 {
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 20px;
}

.business-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.details-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.business-image {
    border-radius: 10px;
    overflow: hidden;
}

.business-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.business-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: #ffc107;
}

.details-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-section h3, .description-section h3, .menu-section h3, .reviews-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.info-item i {
    color: #667eea;
    width: 20px;
}

.menu-list {
    list-style: none;
}

.menu-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.review-item {
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 15px;
}

.reviewer {
    font-weight: 600;
    color: #333;
}

.review-stars {
    color: #ffc107;
}

.review-text {
    margin-top: 10px;
    color: #666;
}

.modal-footer {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-top: 1px solid #e9ecef;
}

.favorite-btn-modal {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.favorite-btn-modal:hover {
    background: #c82333;
}

.write-review-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.write-review-btn:hover {
    background: #5a67d8;
}

/* Account Section */
.account-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Add Business Section */
.add-business-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
}

.business-form-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.business-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-section {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 30px;
}

.form-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

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

.help-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.primary-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

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

.secondary-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    color: white;
    margin-top: 30px;
}

.success-content i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.success-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.success-btn {
    background: white;
    color: #28a745;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    margin: 0 10px;
    transition: all 0.3s ease;
}

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

.auth-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.auth-tab {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    cursor: pointer;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #667eea;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.social-login {
    text-align: center;
    margin-top: 30px;
}

.social-login p {
    color: #666;
    margin-bottom: 15px;
}

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

.social-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.social-btn.google {
    color: #db4437;
    border-color: #db4437;
}

.social-btn.facebook {
    color: #4267B2;
    border-color: #4267B2;
}

/* Profile Section */
.profile-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.profile-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.profile-picture-container {
    position: relative;
}

.profile-picture-container img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #667eea;
}

.change-pic-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.edit-profile-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.edit-profile-btn:hover {
    background: #5a67d8;
}

.profile-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.profile-tab {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    cursor: pointer;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.profile-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.profile-content {
    display: none;
}

.profile-content.active {
    display: block;
}

/* Favorites Grid */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.favorite-item {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.favorite-item:hover {
    transform: translateY(-5px);
}

.favorite-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.favorite-info {
    padding: 20px;
}

.favorite-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.favorite-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.favorite-rating i {
    color: #ffc107;
}

.favorite-info p {
    color: #666;
    margin-bottom: 15px;
}

.remove-favorite {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.remove-favorite:hover {
    background: #c82333;
}

/* Recent List */
.recent-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.recent-item:hover {
    background: #e9ecef;
}

.recent-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.recent-info p {
    color: #666;
    margin-bottom: 10px;
}

.recent-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.recent-rating i {
    color: #ffc107;
}

.view-again-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
    text-decoration: none;
}

.view-again-btn:hover {
    background: #5a67d8;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-header h4 {
    font-size: 1.1rem;
    color: #333;
}

.review-date {
    color: #666;
    font-size: 0.9rem;
}

.edit-review-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.edit-review-btn:hover {
    background: #5a67d8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-items {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .search-container input {
        width: 200px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .map-business-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .map-section {
        height: 400px;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }

    .business-list-section {
        height: 600px;
    }

    .business-details {
        grid-template-columns: 1fr;
    }

    .profile-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .favorites-grid {
        grid-template-columns: 1fr;
    }

    .recent-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .modal-content {
        width: 95%;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .auth-section, .profile-section {
        padding: 20px;
    }

    .search-container input {
        width: 150px;
    }

    .map-controls {
        flex-direction: column;
        gap: 15px;
    }

    .filter-dropdown {
        right: -50px;
    }
}
