/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #000000;
    --secondary: #FFD700;
    --accent: #B8860B;
    --light: #1a1a1a;
    --dark: #000000;
    --text: #ffffff;
    --text-light: #cccccc;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --card-bg: #2a2a2a;
    --border: rgba(255, 215, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text);
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.hidden {
    display: none !important;
}

/* Header Styles */
.header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--secondary);
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
    background: rgba(255, 215, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    color: var(--primary);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--primary);
}

/* Ensure all buttons use gold theme */
button.btn,
a.btn,
input[type="submit"].btn,
input[type="button"].btn {
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    color: var(--primary);
    border: none;
}

button.btn-outline,
a.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

button.btn-outline:hover,
a.btn-outline:hover {
    background: var(--secondary);
    color: var(--primary);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Modern Card Style */
.modern-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.2);
    border-color: var(--secondary);
}

/* Notification Bell */
.notification-bell {
    position: relative;
    cursor: pointer;
    margin-right: 1.5rem;
    color: var(--text);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.notification-bell:hover {
    color: var(--secondary);
    transform: scale(1.1);
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Notification List */
.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.notification-item:hover {
    background: rgba(255, 215, 0, 0.05);
}

.notification-item.unread {
    background: rgba(255, 215, 0, 0.1);
}

.notif-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notif-content {
    flex: 1;
}

.notif-content h5 {
    margin: 0 0 0.5rem 0;
    color: var(--text);
    font-size: 0.95rem;
}

.notif-content p {
    margin: 0 0 0.5rem 0;
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
}

.notif-time {
    font-size: 0.75rem;
    color: var(--text-light);
    opacity: 0.7;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(26,26,26,0.9) 100%);
    padding: 12rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,215,0,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(184,134,11,0.1) 0%, transparent 50%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--secondary), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.1), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Campus Market Section */
.market-section {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(26,26,26,0.9) 100%);
}

.category-filters {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255,215,0,0.1);
    border: 1px solid var(--border);
    color: var(--text-light);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.products-header h3 {
    color: var(--secondary);
    font-size: 1.5rem;
}

.sort-options select {
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255,215,0,0.2);
    border-color: var(--secondary);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0,0,0,0.8);
    color: var(--secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    z-index: 2;
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    line-height: 1.3;
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.vendor, .delivery {
    color: var(--text-light);
}

.product-rating-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.star-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.star-rating i {
    color: #FFD700;
    font-size: 0.9rem;
}

.star-rating .fa-star {
    color: #FFD700;
}

.star-rating .far.fa-star {
    color: rgba(255, 215, 0, 0.3);
}

.rating-count {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-left: 0.25rem;
}

.like-dislike-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.like-btn, .dislike-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.like-btn:hover:not(:disabled), .dislike-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.like-btn.active {
    background: rgba(39, 174, 96, 0.2);
    border-color: #27ae60;
    color: #27ae60;
}

.like-btn.active i {
    color: #27ae60;
}

.dislike-btn.active {
    background: rgba(231, 76, 60, 0.2);
    border-color: #e74c3c;
    color: #e74c3c;
}

.dislike-btn.active i {
    color: #e74c3c;
}

.like-btn:disabled, .dislike-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.like-btn span, .dislike-btn span {
    font-weight: 600;
    font-size: 0.8rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--secondary);
}

.original-price {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: var(--text-light);
}

/* Vendors Section */
.vendors-section {
    margin-top: 4rem;
}

.vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.vendor-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.vendor-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.vendor-avatar {
    width: 60px;
    height: 60px;
    background: rgba(255,215,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
}

.vendor-info {
    flex: 1;
}

.vendor-info h4 {
    color: var(--text);
    margin-bottom: 0.25rem;
}

.vendor-category {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.vendor-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
}

.rating {
    color: #FFD700;
}

.products {
    color: var(--text-light);
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, rgba(255,215,0,0.05) 0%, transparent 50%);
}

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

.about-text {
    padding-right: 2rem;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,215,0,0.1);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

.feature i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-top: 0.25rem;
}

.feature h4 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.image-frame {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

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

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem;
    color: white;
}

.overlay-content {
    text-align: center;
}

.overlay-content i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* User Dropdown */
.user-menu-container {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.5rem 0;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 1000;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: rgba(255,215,0,0.1);
    color: var(--secondary);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.25rem 0;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    border: 2px solid var(--border);
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    color: var(--secondary);
    margin: 0;
}

.close {
    background: none;
    border: none;
    color: var(--secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 2rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary);
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--text);
}

.form-group input:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.checkbox-group {
    margin: 1rem 0;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400 !important;
    color: var(--text) !important;
}

.checkbox-label input[type="checkbox"] {
    width: auto !important;
    min-width: 18px;
    height: 18px;
    margin-top: 0.2rem;
    cursor: pointer;
    accent-color: var(--secondary);
}

.checkbox-label span {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label a {
    color: var(--secondary);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.auth-footer a {
    color: var(--secondary);
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo .logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo .logo span {
    color: var(--secondary);
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 300px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-column a:last-child {
    border-bottom: none;
}

.footer-column a:hover {
    color: var(--secondary);
    transform: translateX(5px);
    padding-left: 0.5rem;
}

.footer-column a i {
    font-size: 0.8rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-column a:hover i {
    opacity: 1;
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
    border-color: var(--secondary);
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column a {
        justify-content: center;
    }
    
    .footer-column a:hover {
        transform: translateX(0);
        padding-left: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.empty-state i {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state h4 {
    color: var(--text);
    margin-bottom: 1rem;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
}

/* Mobile Login Button - Positioned on top right */
.mobile-login-btn {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: var(--secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: auto;
    margin-right: 1rem;
    order: 2;
}

.mobile-login-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .products-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .category-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .vendor-card {
        flex-direction: column;
        text-align: center;
    }
    
    .user-dropdown {
        right: 0;
        left: auto;
        width: 280px;
        max-width: 90vw;
        margin-top: 0.5rem;
    }
    
    /* Mobile menu overlay */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 997;
    }
    
    .menu-overlay.show {
        display: block;
    }
    
    nav {
        position: static;
        width: auto;
    }
    
    nav ul {
        display: flex !important;
        visibility: hidden !important;
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        width: 80% !important;
        max-width: 320px !important;
        background: rgba(0, 0, 0, 0.98) !important;
        flex-direction: column !important;
        padding: 1rem !important;
        box-shadow: 5px 0 20px rgba(0,0,0,0.5) !important;
        border-right: 1px solid var(--border) !important;
        align-items: flex-start !important;
        z-index: 998 !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        bottom: 0 !important;
        list-style: none !important;
        margin: 0 !important;
        gap: 0 !important;
        pointer-events: none !important;
        opacity: 0 !important;
        transform: translateX(-100%) !important;
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease !important;
    }
    
    nav ul.show {
        visibility: visible !important;
        pointer-events: auto !important;
        opacity: 1 !important;
        transform: translateX(0) !important;
    }
    
    nav ul li {
        width: 100% !important;
        text-align: left !important;
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1) !important;
        gap: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
    }
    
    nav ul.show li {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    nav ul li:last-child {
        border-bottom: none !important;
    }
    
    nav ul .nav-link {
        display: block !important;
        padding: 0.5rem 0 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-decoration: none !important;
        transition: color 0.2s ease !important;
        font-size: 0.95rem !important;
    }
    
    nav ul .nav-link:hover {
        color: var(--secondary) !important;
    }
    
    nav ul button {
        width: 100% !important;
        margin-top: 0.5rem !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
    }
    
    nav ul.show button {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .mobile-menu {
        display: block;
        order: 3;
        position: fixed;
        right: 1rem;
        top: 1.2rem;
        z-index: 1001;
        cursor: pointer;
        font-size: 1.5rem;
        color: var(--secondary);
        padding: 0.5rem;
    }
    
    .mobile-menu:active {
        transform: scale(0.95);
    }
    
    /* Show mobile login button on mobile - positioned on top right */
    .mobile-login-btn {
        display: flex;
        order: 2;
        margin-left: auto;
        margin-right: 1rem;
    }
    
    /* Hide auth section on mobile */
    #authSection {
        display: none !important;
    }
    
    .auth-section-desktop {
        display: none !important;
    }
    
    /* Fix header container layout for mobile */
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 0;
        position: relative;
    }
    
    .logo {
        order: 1;
        margin-right: auto;
    }
}

/* Desktop header styles */
@media (min-width: 768px) {
    .menu-overlay {
        display: none !important;
    }
    
    .auth-section-desktop {
        display: flex !important;
        align-items: center;
        gap: 1.5rem;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    nav ul {
        display: flex !important;
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 2rem !important;
        gap: 2rem !important;
        width: auto !important;
        align-items: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-height: none !important;
        overflow: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        transition: none !important;
    }
    
    nav ul li {
        border: none !important;
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: none !important;
    }
    
    nav ul .nav-link {
        padding: 0.5rem 1rem !important;
    }
    
    nav ul button {
        opacity: 1 !important;
        visibility: visible !important;
        transition: none !important;
    }
    
    #authSectionMobile {
        display: none !important;
    }
    #authSectionMobile {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .vendors-grid {
        grid-template-columns: 1fr;
    }
    
    .product-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Cart Styles */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.cart-stats {
    display: flex;
    gap: 2rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item-card {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 1.5rem;
    align-items: center;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.item-image img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.item-details {
    flex: 1;
}

.item-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.item-vendor {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.item-price {
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.1rem;
}

.item-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity {
    padding: 0.5rem 1rem;
    background: rgba(255,215,0,0.1);
    border-radius: 5px;
    min-width: 50px;
    text-align: center;
}

.item-total {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary);
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 2px dashed var(--border);
}

.empty-cart i {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

/* Cart Summary */
.cart-summary {
    position: sticky;
    top: 2rem;
}

.summary-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.summary-card h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.summary-details {
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,215,0,0.1);
}

.summary-row.total {
    border-bottom: none;
    border-top: 2px solid var(--border);
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary);
}

/* Delivery Options */
.delivery-options {
    margin: 2rem 0;
}

.delivery-options h4 {
    margin-bottom: 1rem;
    color: var(--text);
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255,215,0,0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-item:hover {
    background: rgba(255,215,0,0.1);
    border-color: var(--secondary);
}

.option-item input[type="radio"] {
    margin-right: 1rem;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.option-content i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.option-content div {
    flex: 1;
}

.option-content strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.option-content small {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Orders Styles */
.orders-filter {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.order-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.order-card:hover {
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.order-info h4 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.order-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.order-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.order-status.pending {
    background: rgba(243, 156, 18, 0.2);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.order-status.confirmed {
    background: rgba(39, 174, 96, 0.2);
    color: var(--success);
    border: 1px solid var(--success);
}

.order-status.completed {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid #3498db;
}

.order-status.cancelled {
    background: rgba(231, 76, 60, 0.2);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.order-details {
    margin-bottom: 1.5rem;
}

.order-vendor {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.order-items {
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.order-total {
    text-align: right;
    font-size: 1.1rem;
    color: var(--secondary);
}

.order-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Order Details */
.order-detail-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.order-detail-section:last-child {
    border-bottom: none;
}

.order-detail-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item label {
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.item-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.payment-summary {
    max-width: 300px;
}

/* Chat Styles */
.chat-container {
    height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    max-width: 80%;
}

.message.sent {
    align-self: flex-end;
}

.message.received {
    align-self: flex-start;
}

.message-content {
    padding: 0.75rem 1rem;
    border-radius: 15px;
    position: relative;
}

.message.sent .message-content {
    background: var(--secondary);
    color: var(--primary);
    border-bottom-right-radius: 5px;
}

.message.received .message-content {
    background: rgba(255,255,255,0.1);
    color: var(--text);
    border-bottom-left-radius: 5px;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    display: block;
    margin-top: 0.25rem;
}

.chat-input {
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border);
    border-radius: 25px;
    color: var(--text);
}

.chat-input input:focus {
    outline: none;
    border-color: var(--secondary);
}

/* Responsive Design for new pages */
@media (max-width: 768px) {
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-item-card {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }
    
    .item-controls, .item-total {
        grid-column: 1 / -1;
        justify-self: start;
    }
    
    .item-controls {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .order-actions {
        justify-content: center;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .message {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .cart-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cart-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .orders-filter {
        justify-content: center;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .order-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Beautiful Header Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn-auth {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-login {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--secondary);
    color: var(--secondary);
}

.btn-login:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-vendor {
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    color: var(--primary);
    border: 1px solid transparent;
}

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

/* Combined Login Modal Styles */
.login-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.login-option-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
}

.login-option-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.login-option-btn.active {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--secondary);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.option-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary);
}

.option-content h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text);
    font-size: 1rem;
}

.option-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.85rem;
}

.login-form {
    display: none;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .auth-buttons {
        gap: 0.5rem;
    }
    
    .btn-auth {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .login-option-btn {
        padding: 0.75rem 1rem;
    }
    
    .option-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Ensure mobile login button is visible and properly positioned */
    .mobile-login-btn {
        display: flex !important;
        order: 2;
        margin-left: auto;
        margin-right: 1rem;
    }
    
    /* Ensure mobile menu is properly positioned */
    .mobile-menu {
        order: 3;
    }
}

/* Coming Soon Badge */
.coming-soon-badge {
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.badge-text {
    font-weight: bold;
    color: var(--primary);
    font-size: 0.9rem;
}

.badge-subtext {
    font-size: 0.8rem;
    color: var(--primary);
    opacity: 0.9;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Coming Soon Button */
.btn-coming-soon {
    background: rgba(255, 215, 0, 0.2);
    border: 2px dashed var(--secondary);
    color: var(--secondary);
    opacity: 0.8;
    cursor: not-allowed;
}

.btn-coming-soon:hover {
    background: rgba(255, 215, 0, 0.3);
    transform: none;
    box-shadow: none;
}

/* Coming Soon Section */
.coming-soon-section {
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(184,134,11,0.05) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.coming-soon-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.coming-soon-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.coming-soon-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.city-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0,0,0,0.8);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1rem;
}

.section-tag {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.coming-soon-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.coming-soon-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.coming-soon-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border-left: 4px solid var(--secondary);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.feature-item h4 {
    color: var(--text);
    margin-bottom: 0.25rem;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.notify-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255,215,0,0.1);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.notify-section p {
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 500;
}

.notify-input {
    display: flex;
    gap: 0.5rem;
}

.notify-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
}

.notify-input input:focus {
    outline: none;
    border-color: var(--secondary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .coming-soon-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .coming-soon-text h2 {
        font-size: 2rem;
    }
    
    .notify-input {
        flex-direction: column;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Enhanced Category Selection */
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--text);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23FFD700' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
}

.form-group select:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Image Upload Styles */
.image-upload-container {
    border: 2px dashed var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(255, 215, 0, 0.05);
}

.image-upload-container:hover {
    border-color: var(--secondary);
    background: rgba(255, 215, 0, 0.1);
}

.image-preview {
    margin-bottom: 1rem;
    cursor: pointer;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.image-preview:hover {
    color: var(--secondary);
}

.image-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    display: none;
}

.image-preview.has-image {
    color: var(--text);
}

.image-preview.has-image img {
    display: block;
}

.image-preview.has-image i,
.image-preview.has-image span {
    display: none;
}

/* Vendor Messages Styling */
.messages-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 0;
    height: 500px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.conversations-sidebar {
    border-right: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.conversations-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.conversations-header h4 {
    margin: 0 0 1rem 0;
    color: var(--secondary);
}

.search-conversations input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
}

.conversations-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.conversation-item:hover {
    background: rgba(255, 215, 0, 0.1);
}

.conversation-item.active {
    background: rgba(255, 215, 0, 0.15);
    border-left: 3px solid var(--secondary);
}

.conversation-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary);
}

.conversation-info {
    flex: 1;
}

.conversation-name {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.conversation-preview {
    font-size: 0.85rem;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-meta {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-light);
}

.conversation-unread {
    background: var(--secondary);
    color: var(--primary);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.empty-conversations {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.empty-conversations i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.chat-main {
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.chat-partner-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.partner-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--secondary);
}

.partner-details h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text);
}

.partner-status {
    font-size: 0.85rem;
    color: var(--text-light);
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.1);
}

.welcome-message {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.welcome-message i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.welcome-message h4 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.chat-input-container {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

.chat-input {
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    border-radius: 25px;
    color: var(--text);
}

.chat-input input:focus {
    outline: none;
    border-color: var(--secondary);
}

/* Hero Section Hover Effects */
.hero-content {
    position: relative;
}

.hero-content h1 {
    transition: all 0.3s ease;
}

.hero-content h1:hover {
    transform: translateY(-5px);
    text-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.hero-buttons .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

/* Kano City Better Image */
.kano-city-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    filter: brightness(0.8) contrast(1.1);
    transition: transform 0.3s ease;
}

.kano-city-image:hover {
    transform: scale(1.02);
}

/* Sort Options Styling */
.sort-options select {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23FFD700' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
}

.sort-options select:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .products-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .category-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .vendor-card {
        flex-direction: column;
        text-align: center;
    }
    
    .user-dropdown {
        right: 0;
        left: auto;
        width: 280px;
        max-width: 90vw;
        margin-top: 0.5rem;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        width: 100%;
        background: var(--card-bg);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 20px rgba(0,0,0,0.5);
        border-top: 1px solid var(--border);
        align-items: flex-end;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        width: 100%;
        text-align: right;
    }
    
    .mobile-menu {
        display: block;
    }
    
    /* Ensure nav menu is hidden by default on mobile */
    #navMenu {
        display: none !important;
    }
    
    #navMenu.show {
        display: flex !important;
    }
}

/* Desktop Navigation Fix - Ensure navigation is visible on desktop */
@media (min-width: 769px) {
    nav ul {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        background: transparent !important;
        box-shadow: none !important;
        border-top: none !important;
        align-items: center !important;
        padding: 0 !important;
        width: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        max-height: none !important;
    }
    
    nav ul li {
        width: auto !important;
        text-align: left !important;
        border-bottom: none !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    /* Ensure nav menu is never hidden on desktop */
    #navMenu {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        max-height: none !important;
        position: static !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
}

.vendor-welcome {
    color: #FFD700;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Better Navigation */
.vendor-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 1.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

/* Add space between Add Product and My Products */
#add-product .modern-card {
    margin-top: 2rem;
}

/* Better button spacing in products grid */
.product-actions-modern {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* Enhanced Orders Styles */
.filter-badges {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 25px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--secondary);
    color: var(--primary);
}

.filter-count {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.order-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.order-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.1);
}

.order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.order-info h4 {
    color: var(--secondary);
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.order-date, .order-vendor {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: block;
    margin: 0.25rem 0;
}

.order-status {
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-details {
    margin-bottom: 1.5rem;
}

.order-items {
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-more-items {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.order-total {
    text-align: right;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.order-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Order Details Modal */
.order-detail-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.order-detail-section:last-child {
    border-bottom: none;
}

.order-detail-section h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-item label {
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.detail-item span {
    color: var(--text);
    font-size: 1rem;
}

.items-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.item-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-info strong {
    color: var(--text);
}

.item-info span, .item-info small {
    color: var(--text-light);
    font-size: 0.8rem;
}

.item-price {
    font-weight: bold;
    color: var(--secondary);
    font-size: 1.1rem;
}

.payment-summary {
    max-width: 300px;
    margin-left: auto;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-row.total {
    border-bottom: none;
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary);
}

/* Contact Information */
.contact-info {
    padding: 1rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-header h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--secondary);
    width: 30px;
    text-align: center;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item strong {
    color: var(--text);
    margin-bottom: 0.25rem;
}

.contact-item span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-notes {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
}

.contact-notes p {
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 600;
}

.contact-notes ul {
    margin: 0;
    padding-left: 1.5rem;
    color: var(--text-light);
}

.contact-notes li {
    margin-bottom: 0.5rem;
}

/* Delivery Arrangements */
.delivery-arrangements {
    padding: 1rem;
}

.arrangement-header {
    text-align: center;
    margin-bottom: 2rem;
}

.arrangement-header h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.arrangement-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-display {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    text-align: center;
}

.phone-number {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--secondary);
    margin: 1rem 0;
}

.contact-note {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .order-header {
        flex-direction: column;
        gap: 1rem;
    }

    .order-actions {
        flex-direction: column;
    }

    .order-actions .btn {
        width: 100%;
        justify-content: center;
    }

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

    .payment-summary {
        max-width: none;
        margin-left: 0;
    }

    .arrangement-actions {
        flex-direction: column;
    }
}

/* Messaging Styles */
.messages-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 1.5rem;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.conversations-list {
    border-right: 1px solid rgba(255, 215, 0, 0.2);
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.3);
}

.conversation-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.conversation-item:hover {
    background: rgba(255, 215, 0, 0.1);
}

.conversation-item.unread {
    background: rgba(255, 215, 0, 0.05);
    border-left: 3px solid #FFD700;
}

.conversation-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD700, #B8860B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #000;
    font-size: 1.2rem;
}

.conversation-info {
    flex: 1;
    min-width: 0;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.conversation-header h4 {
    margin: 0;
    color: #FFD700;
    font-size: 1rem;
}

.conversation-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.conversation-preview {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.unread-badge {
    background: #FFD700;
    color: #000;
    border-radius: 10px;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.empty-conversations {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.messages-view {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.2);
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.conversation-partner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.partner-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FFD700, #B8860B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

.partner-info h4 {
    margin: 0;
    color: #FFD700;
}

.partner-info span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.messages-list {
    flex: 1;
    padding: 1rem 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.no-conversation-selected,
.no-messages {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.message {
    display: flex;
    max-width: 70%;
}

.message.sent {
    align-self: flex-end;
}

.message.received {
    align-self: flex-start;
}

.message-content {
    padding: 0.75rem 1rem;
    border-radius: 18px;
    position: relative;
}

.message.sent .message-content {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    color: #000;
    border-bottom-right-radius: 4px;
}

.message.received .message-content {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    display: block;
    margin-top: 0.25rem;
}

.message-input-container {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.message-input {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.message-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 25px;
    color: white;
    font-size: 0.9rem;
}

.message-input input:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.15);
}

.message-input button {
    padding: 0.75rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .messages-container {
        grid-template-columns: 1fr;
        height: 500px;
    }
    
    .conversations-list {
        border-right: none;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
        max-height: 200px;
    }
    
    .message {
        max-width: 85%;
    }
}

/* Contact Info Success States */
.contact-item.success i {
    color: #27ae60;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: flex-end;
}

.contact-actions .btn {
    flex: 1;
}

/* Message Sent Styles */
.contact-item.success {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.contact-item.success i {
    color: #27ae60;
}

/* Button icon alignment */
.btn i {
    margin-right: 0.5rem;
}

/* Responsive contact actions */
@media (max-width: 768px) {
    .contact-actions {
        flex-direction: column;
    }
    
    .contact-actions .btn {
        width: 100%;
    }
}

/* Phone Call Button Styles */
.call-btn {
    background: rgba(39, 174, 96, 0.2) !important;
    border: 1px solid rgba(39, 174, 96, 0.5) !important;
    color: #27ae60 !important;
    transition: all 0.3s ease;
}

.call-btn:hover {
    background: rgba(39, 174, 96, 0.3) !important;
    transform: scale(1.05);
}

.send-btn {
    background: linear-gradient(135deg, #FFD700, #B8860B) !important;
    color: #000 !important;
    transition: all 0.3s ease;
}

.send-btn:hover {
    transform: scale(1.05);
}

/* Conversation Actions */
.conversation-actions {
    display: flex;
    gap: 0.5rem;
}

/* Message Input Improvements */
.message-input {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.message-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 25px;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.message-input input:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.message-input button {
    padding: 0.75rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Phone number display in header */
.conversation-header .partner-info small {
    display: block;
    margin-top: 0.25rem;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .conversation-actions {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .conversation-actions .btn {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .message-input {
        gap: 0.25rem;
    }
    
    .message-input button {
        width: 40px;
        height: 40px;
        padding: 0.5rem;
    }
}

/* Conversation Actions */
.conversation-actions {
    display: flex;
    gap: 0.5rem;
}

/* Call Button Styles */
.call-btn {
    background: rgba(39, 174, 96, 0.2) !important;
    border: 1px solid rgba(39, 174, 96, 0.5) !important;
    color: #27ae60 !important;
    transition: all 0.3s ease;
}

.call-btn:hover {
    background: rgba(39, 174, 96, 0.3) !important;
    transform: scale(1.05);
}

.send-btn {
    background: linear-gradient(135deg, #FFD700, #B8860B) !important;
    color: #000 !important;
    transition: all 0.3s ease;
}

.send-btn:hover {
    transform: scale(1.05);
}

/* Message Input Improvements */
.message-input {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.message-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 25px;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.message-input input:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.message-input button {
    padding: 0.75rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .conversation-actions {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .conversation-actions .btn {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .message-input {
        gap: 0.25rem;
    }
    
    .message-input button {
        width: 40px;
        height: 40px;
        padding: 0.5rem;
    }
}

/* Vendor Messaging Styles */
.messages-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 1.5rem;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.conversations-list {
    border-right: 1px solid rgba(255, 215, 0, 0.2);
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.3);
}

.conversation-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.conversation-item:hover {
    background: rgba(255, 215, 0, 0.1);
}

.conversation-item.unread {
    background: rgba(255, 215, 0, 0.05);
    border-left: 3px solid #FFD700;
}

.conversation-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD700, #B8860B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #000;
    font-size: 1.2rem;
}

.conversation-info {
    flex: 1;
    min-width: 0;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.conversation-header h4 {
    margin: 0;
    color: #FFD700;
    font-size: 1rem;
}

.conversation-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.conversation-preview {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.unread-badge {
    background: #FFD700;
    color: #000;
    border-radius: 10px;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.messages-view {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.2);
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.conversation-partner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.partner-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FFD700, #B8860B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

.partner-info h4 {
    margin: 0;
    color: #FFD700;
}

.partner-info span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.messages-list {
    flex: 1;
    padding: 1rem 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 400px;
}

.no-conversation-selected,
.no-messages {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.message {
    display: flex;
    max-width: 70%;
}

.message.sent {
    align-self: flex-end;
}

.message.received {
    align-self: flex-start;
}

.message-content {
    padding: 0.75rem 1rem;
    border-radius: 18px;
    position: relative;
}

.message.sent .message-content {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    color: #000;
    border-bottom-right-radius: 4px;
}

.message.received .message-content {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    display: block;
    margin-top: 0.25rem;
}

.message-input-container {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.message-input {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.message-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 25px;
    color: white;
    font-size: 0.9rem;
}

.message-input input:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.15);
}

.message-input button {
    padding: 0.75rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-conversations {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Phone Call Button Styles for Vendor */
.call-btn {
    background: rgba(39, 174, 96, 0.2) !important;
    border: 1px solid rgba(39, 174, 96, 0.5) !important;
    color: #27ae60 !important;
    transition: all 0.3s ease;
}

.call-btn:hover {
    background: rgba(39, 174, 96, 0.3) !important;
    transform: scale(1.05);
}

.send-btn {
    background: linear-gradient(135deg, #FFD700, #B8860B) !important;
    color: #000 !important;
    transition: all 0.3s ease;
}

.send-btn:hover {
    transform: scale(1.05);
}

.conversation-actions {
    display: flex;
    gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .messages-container {
        grid-template-columns: 1fr;
        height: 500px;
    }
    
    .conversations-list {
        border-right: none;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
        max-height: 200px;
    }
    
    .message {
        max-width: 85%;
    }
    
    .conversation-actions {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* Subtle notifications */
.notification-subtle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 215, 0, 0.9);
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10000;
    animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.7s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Back button styling */
.conversation-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.conversation-actions .btn {
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
}

/* Ensure messages are visible */
.messages-list {
    flex: 1;
    padding: 1rem 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 400px;
    min-height: 200px;
}

.message {
    display: flex;
    max-width: 70%;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input container styling */
.message-input-container {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    background: rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.message-input {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.message-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 25px;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.message-input input:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.message-input button {
    padding: 0.75rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Responsive design */
@media (max-width: 768px) {
    .conversation-actions {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .conversation-actions .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* Enhanced Student Header Styles */
.student-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.3);
    color: var(--secondary);
}

.nav-badge {
    background: var(--secondary);
    color: var(--primary);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.message-badge {
    background: var(--success);
    color: white;
}

.cart-badge {
    background: var(--danger);
    color: white;
}

/* User Menu Styles */
.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255,215,0,0.1);
    border-radius: 10px;
    border: 1px solid rgba(255,215,0,0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.user-menu-btn:hover {
    background: rgba(255,215,0,0.2);
    transform: translateY(-2px);
}

.user-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.user-info-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-name {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

.user-role {
    color: rgba(255,255,255,0.7);
    font-size: 0.7rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .student-nav {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    .nav-link {
        width: 100%;
        justify-content: flex-start;
    }
    
    .user-menu-btn {
        width: 100%;
        justify-content: space-between;
    }
}
/* Add to existing style.css */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 8px;
    color: #FFD700;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(255,215,0,0.2);
    transform: translateX(-5px);
}

.search-bar {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.search-bar:focus {
    border-color: var(--secondary);
    outline: none;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border-left: 3px solid var(--secondary);
}

.notification-item.unread {
    background: rgba(255,215,0,0.1);
}

.review-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.review-rating-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-rating {
    color: #FFD700;
    display: flex;
    gap: 0.25rem;
}

.review-content {
    flex: 1;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,215,0,0.1);
    gap: 1rem;
    flex-wrap: wrap;
}

.review-reactions {
    display: flex;
    gap: 0.75rem;
}

.reaction-btn {
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.2);
    color: rgba(255,255,255,0.7);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.reaction-btn:hover {
    background: rgba(255,215,0,0.15);
    color: #FFD700;
    border-color: rgba(255,215,0,0.4);
}

.reaction-btn.active {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    color: #000;
    border-color: #FFD700;
    font-weight: 600;
}

.review-actions {
    display: flex;
    gap: 0.5rem;
}

.report-reason {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.admin-search-section {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.unique-id {
    font-family: monospace;
    background: rgba(255,215,0,0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: #FFD700;
}

/* Vendor Products Styles */
.product-vendor-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1.5rem;
    align-items: start;
    transition: all 0.3s ease;
}

.product-vendor-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

.product-vendor-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 100px;
}

.product-vendor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-status {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

.product-status.active {
    background: rgba(39, 174, 96, 0.2);
    color: #27ae60;
    border: 1px solid #27ae60;
}

.product-status.pending {
    background: rgba(243, 156, 18, 0.2);
    color: #f39c12;
    border: 1px solid #f39c12;
}

.product-status.inactive {
    background: rgba(149, 165, 166, 0.2);
    color: #95a5a6;
    border: 1px solid #95a5a6;
}

.product-vendor-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-vendor-info h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text);
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.product-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.product-category {
    background: rgba(255, 215, 0, 0.1);
    color: var(--secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.product-price {
    font-weight: bold;
    color: var(--secondary);
    font-size: 1.1rem;
}

.product-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.product-vendor-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 120px;
}

/* Vendor Transactions Styles */
.transaction-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.transaction-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateX(5px);
}

.transaction-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary);
}

.transaction-info {
    flex: 1;
}

.transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.transaction-header h4 {
    margin: 0;
    color: var(--text);
    font-size: 1rem;
}

.transaction-amount {
    font-weight: bold;
    font-size: 1.1rem;
}

.transaction-amount.positive {
    color: #27ae60;
}

.transaction-amount.negative {
    color: #e74c3c;
}

.transaction-details {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.transaction-fee {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.payout-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.payout-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
}

.payout-value {
    font-weight: bold;
    color: var(--secondary);
}

.amount-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.amount-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.amount-row.fee {
    color: #e74c3c;
}

.amount-row.total {
    border-bottom: none;
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    font-weight: bold;
    color: var(--secondary);
}

/* Vendor Profile Styles */
.profile-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

.profile-sidebar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    height: fit-content;
}

.profile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-nav-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-light);
    text-align: left;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.profile-nav-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--secondary);
}

.profile-nav-btn.active {
    background: rgba(255, 215, 0, 0.15);
    color: var(--secondary);
    border-left: 3px solid var(--secondary);
}

.profile-section {
    display: none;
}

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

.business-hours {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hours-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hours-row span:first-child {
    min-width: 120px;
    color: var(--text);
    font-weight: 500;
}

.hours-row input {
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
}

.notification-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification-option {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.notification-option label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    margin: 0;
}

.option-content {
    flex: 1;
}

.option-content strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.option-content small {
    color: var(--text-light);
    font-size: 0.8rem;
}

.privacy-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.privacy-option {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.privacy-option h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text);
}

.privacy-option p {
    margin: 0 0 1rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.btn.danger {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.5);
    color: #e74c3c;
}

.btn.danger:hover {
    background: rgba(231, 76, 60, 0.3);
}

.login-sessions {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.session-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.session-item.current {
    border-left: 3px solid var(--secondary);
}

.session-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.session-info strong {
    color: var(--text);
}

.session-info span, .session-info small {
    color: var(--text-light);
    font-size: 0.8rem;
}

.session-badge {
    background: var(--secondary);
    color: var(--primary);
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: bold;
}

.security-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.security-section h4 {
    margin: 0 0 1rem 0;
    color: var(--secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-vendor-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .product-vendor-actions {
        flex-direction: row;
        justify-content: center;
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        order: 2;
    }

    .profile-content {
        order: 1;
    }

    .profile-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .profile-nav-btn {
        white-space: nowrap;
        min-width: 200px;
    }

    .transaction-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .hours-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .hours-row span:first-child {
        min-width: auto;
    }
}

/* User Dropdown Styles */
.user-menu-container {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-menu-btn:hover {
    background: rgba(255,215,0,0.2);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-name {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.85rem;
}

.user-role {
    color: rgba(255,255,255,0.7);
    font-size: 0.7rem;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 180px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    display: none;
}

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

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: rgba(255,215,0,0.1);
    color: var(--secondary);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.25rem 0;
}

/* User Dropdown Styles */
.user-menu-container {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.user-menu-btn:hover {
    background: rgba(255,215,0,0.2);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-name {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.85rem;
}

.user-role {
    color: rgba(255,255,255,0.7);
    font-size: 0.7rem;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    display: none;
}

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

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: rgba(255,215,0,0.1);
    color: var(--secondary);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.25rem 0;
}
/* ====================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATION
   ==================================== */

/* Mobile Menu Toggle */
.mobile-menu {
    display: none;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-menu:hover {
    color: var(--secondary);
}

/* Tablet View (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        width: 95%;
        padding: 0 1rem;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
    }
}

/* Mobile View (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 1rem;
    }
    
    .header-container {
        padding: 0.75rem 0;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .mobile-menu {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        border-top: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        max-height: 0;
        overflow: hidden;
    }
    
    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        width: 100%;
    }
    
    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255,215,0,0.1);
    }
    
    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        width: 100%;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        padding: 0.875rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .cart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr !important;
    }
    
    .welcome-section {
        padding: 1.5rem;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .modern-card {
        padding: 1rem;
    }
}

/* Messages Container Responsive */
@media (max-width: 768px) {
    .messages-container {
        grid-template-columns: 1fr !important;
        height: auto !important;
        min-height: 50vh;
    }
    
    .conversations-list {
        max-height: 300px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    }
    
    .message-input-container {
        padding: 0.75rem;
    }
}

/* ====================================
   PASSWORD VISIBILITY TOGGLE
   ==================================== */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    padding-right: 45px !important;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 5px;
    font-size: 1rem;
    transition: color 0.3s ease;
    z-index: 5;
}

.password-toggle:hover {
    color: var(--secondary);
}

/* ====================================
   ZOMATO-STYLE 2-COLUMN PRODUCT GRID
   ==================================== */
.products-grid,
.zomato-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.product-card,
.zomato-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover,
.zomato-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.product-card .product-image,
.zomato-card .card-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.product-card .product-info,
.zomato-card .card-info {
    padding: 0.75rem;
}

.product-card .product-name,
.zomato-card .card-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card .product-vendor,
.zomato-card .card-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 0.5rem 0;
}

.product-card .product-footer,
.zomato-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-card .product-price,
.zomato-card .card-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
}

.product-card .add-cart-btn,
.zomato-card .action-btn {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border: none;
    border-radius: 8px;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.product-card .add-cart-btn:hover,
.zomato-card .action-btn:hover {
    transform: scale(1.1);
}

/* Responsive Grid - 3 columns on tablet, 4 on desktop */
@media (min-width: 768px) {
    .products-grid,
    .zomato-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-card .product-image,
    .zomato-card .card-image {
        height: 140px;
    }
}

@media (min-width: 1024px) {
    .products-grid,
    .zomato-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .product-card .product-image,
    .zomato-card .card-image {
        height: 160px;
    }
}

/* ====================================
   STICKY HEADERS FIX
   ==================================== */
.page-header,
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.page-title {
    font-size: 1.25rem;
    color: var(--secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Fix body padding for sticky headers */
body.has-sticky-header {
    padding-top: 70px;
}

/* ====================================
   DROPDOWN MENU FIXES
   ==================================== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown.open .dropdown-menu,
.dropdown:hover .dropdown-menu,
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a,
.dropdown-menu button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--secondary);
}

.dropdown-menu i {
    width: 16px;
    text-align: center;
}

/* ====================================
   ADMIN SITE CONTROLS
   ==================================== */
.maintenance-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    text-align: center;
    padding: 0.75rem 1rem;
    z-index: 10000;
    font-weight: 600;
}

.maintenance-banner.hidden {
    display: none;
}

body.maintenance-mode .header {
    top: 45px;
}

body.maintenance-mode .hero {
    padding-top: 120px;
}

.coming-soon-banner {
    display: none;
}

.coming-soon-banner.hidden {
    display: none;
}

@keyframes levitate {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ====================================
   QUICK ACTIONS MOBILE FIX
   ==================================== */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .quick-actions {
        grid-template-columns: repeat(4, 1fr);
    }
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.quick-action-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

.quick-action-btn i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.quick-action-btn span {
    font-size: 0.8rem;
    font-weight: 600;
}

/* ====================================
   VENDOR VERIFICATION BADGE
   ==================================== */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
}

.verified-badge i {
    font-size: 0.65rem;
}

.verification-counter {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    margin: 1rem 0;
}

.verification-counter h4 {
    color: var(--secondary);
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
}

.verification-counter .count {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
}

.verification-counter p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0.5rem 0 0;
}

/* ====================================
   STUDENT DASHBOARD STATS FIX
   ==================================== */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .dashboard-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

.stat-card .stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(184, 134, 11, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--secondary);
    font-size: 1.1rem;
}

.stat-card .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 0;
}

.stat-card .stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0.25rem 0 0;
}

/* ====================================
   PRODUCT IMAGE OVERFLOW FIX
   ==================================== */
.product-card img,
.menu-item img,
.restaurant-card img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
}

@media (max-width: 480px) {
    .product-card img,
    .menu-item img {
        max-height: 120px;
    }
}

/* ====================================
   DROPDOWN MOBILE FIX
   ==================================== */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    .mobile-login-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.show {
        left: 0;
    }
    
    .nav-menu li {
        width: 90%;
        margin: 0.5rem 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        text-align: center;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link.active {
        background: rgba(255, 215, 0, 0.15);
        border-color: rgba(255, 215, 0, 0.3);
    }
    
    /* Hide auth section on mobile - show mobile login button instead */
    #authSection {
        display: none !important;
    }
}

/* ====================================
   NOTIFICATION MODAL STYLES
   ==================================== */
.notification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.notification-modal.hidden {
    display: none;
}

.notification-modal .modal-content {
    background: var(--card-bg);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    margin: 0;
    color: var(--text);
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--secondary);
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.notification-list {
    display: flex;
    flex-direction: column;
}

.notification-list .empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: var(--text-light);
    font-size: 1rem;
    text-align: center;
}

.notification-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.notification-item:hover {
    background: rgba(255, 215, 0, 0.08);
}

.notification-item.unread {
    background: rgba(255, 215, 0, 0.12);
}

.notification-item .notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.2);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.notification-item .notification-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.notification-item .notification-content h4 {
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
}

.notification-item .notification-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
}

.notification-time {
    display: block;
    color: var(--text-light);
    font-size: 0.75rem;
    margin-top: 0.3rem;
    opacity: 0.8;
}

.notification-dot {
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    transform: translateY(-50%);
}

/* Notification Bell in header */
.notification-bell {
    position: relative;
    cursor: pointer;
    margin-right: 2rem;
    color: var(--text);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.notification-bell:hover {
    color: var(--secondary);
    transform: scale(1.15);
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .notification-modal .modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .modal-header {
        padding: 1.25rem 1rem;
    }

    .notification-item {
        padding: 1rem 1.25rem;
    }

    .notification-bell {
        margin-right: 1rem;
    }
}

/* ====================================
   CUSTOM SCROLLBAR STYLING
   ==================================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 5px;
    border: 2px solid rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #FFE55C, #D4A017);
}

::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0.3);
}

/* Firefox scrollbar styling */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) rgba(0, 0, 0, 0.3);
}

/* Custom scrollbar for specific elements */
.modal-content,
.notification-list,
.messages-list,
.conversations-list {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) rgba(0, 0, 0, 0.2);
}

.modal-content::-webkit-scrollbar,
.notification-list::-webkit-scrollbar,
.messages-list::-webkit-scrollbar,
.conversations-list::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track,
.notification-list::-webkit-scrollbar-track,
.messages-list::-webkit-scrollbar-track,
.conversations-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb,
.notification-list::-webkit-scrollbar-thumb,
.messages-list::-webkit-scrollbar-thumb,
.conversations-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover,
.notification-list::-webkit-scrollbar-thumb:hover,
.messages-list::-webkit-scrollbar-thumb:hover,
.conversations-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #FFE55C, #D4A017);
}
