/* Custom Styles for Merikana - Clean White Design */

:root {
    --primary-color: #000000;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc/* Product Cards */
.product-card {
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-3px);
}

.product-image {
    height: 200px;
    object-fit: cover;
}

/* Seller Cards */
.seller-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.seller-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

.seller-banner {
    position: relative;
    overflow: hidden;
}

.seller-avatar {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.seller-card:hover .seller-avatar {
    transform: scale(1.1);
}

.badge {
    backdrop-filter: blur(10px);
    background: rgba(34, 197, 94, 0.9) !important;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Gradient Backgrounds */
.bg-gradient {
    position: relative;
}

.bg-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.seller-card:hover .bg-gradient::after {
    opacity: 1;
}

/* Statistics Section */
.stats-item {
    transition: transform 0.3s ease;
    border-radius: 12px;
}

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

.stats-icon {
    transition: transform 0.3s ease;
}

.stats-item:hover .stats-icon {
    transform: scale(1.1);
}

.text-success {
    color: #22c55e !important;
    font-weight: 600;
}

/* Profile Images */-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #000000;
    --muted-color: #6c757d;
}

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

/* Navigation */
.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--dark-color) !important;
}

/* Hero Section */
.hero-section {
    background: #ffffff;
}

.min-vh-75 {
    min-height: 75vh;
    display: flex;
    align-items: center;
}

/* Category Cards */
.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #f1f1f1 !important;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-dark {
    background: var(--dark-color);
    border-color: var(--dark-color);
    color: white;
}

.btn-dark:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-outline-dark {
    color: var(--dark-color);
    border-color: var(--dark-color);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--dark-color);
    border-color: var(--dark-color);
    color: white;
    transform: translateY(-1px);
}

/* Cards */
.card {
    border-radius: 12px;
    transition: box-shadow 0.3s ease;
    border: 1px solid #f1f1f1;
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 2px solid #f1f1f1;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--dark-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

.form-control-lg {
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
}

/* Text Colors */
.text-dark {
    color: var(--dark-color) !important;
}

.text-muted {
    color: var(--muted-color) !important;
}

/* Background Colors */
.bg-light {
    background-color: #fafafa !important;
}

/* Typography */
.display-3 {
    font-weight: 700;
    line-height: 1.2;
}

.fw-bold {
    font-weight: 700 !important;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
}

/* Spacing */
.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* Feature Icons */
.feature-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Dashboard Styles */
.dashboard-sidebar {
    background: #fafafa;
    min-height: calc(100vh - 76px);
    border-right: 1px solid #f1f1f1;
}

.dashboard-sidebar .nav-link {
    color: var(--muted-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
    background: var(--dark-color);
    color: white;
}

/* Profile Images */
.profile-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-avatar-lg {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-3px);
}

.product-image {
    height: 200px;
    object-fit: cover;
}

/* Chat Interface */
.chat-container {
    height: 400px;
    overflow-y: auto;
    background: #fafafa;
    border-radius: 12px;
    padding: 1rem;
}

.message {
    margin-bottom: 1rem;
}

.message.sent {
    text-align: right;
}

.message.sent .message-bubble {
    background: var(--dark-color);
    color: white;
    margin-left: auto;
}

.message-bubble {
    display: inline-block;
    max-width: 70%;
    padding: 0.75rem 1rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
    }
    
    .dashboard-sidebar {
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid #f1f1f1;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 0.625rem 1.5rem;
    }
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
}

/* Tables */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background: var(--light-color);
    border-bottom: 2px solid #f1f1f1;
    font-weight: 600;
    color: var(--dark-color);
}

/* Pagination */
.pagination {
    border-radius: 8px;
}

.page-link {
    border-color: #f1f1f1;
    color: var(--dark-color);
    padding: 0.75rem 1rem;
}

.page-link:hover {
    background-color: var(--light-color);
    border-color: var(--dark-color);
}

.page-item.active .page-link {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}

/* Footer */
footer a {
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 1 !important;
}

/* Custom utilities */
.opacity-75 {
    opacity: 0.75 !important;
}

.text-decoration-none {
    text-decoration: none !important;
}

/* Dashboard Styles */
.dashboard-sidebar {
    background: #f8f9fa;
    min-height: calc(100vh - 76px);
    border-right: 1px solid #dee2e6;
}

.dashboard-sidebar .nav-link {
    color: #495057;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.25rem;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
    background: var(--primary-color);
    color: white;
}

/* Profile Images */
.profile-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-avatar-lg {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-3px);
}

.product-image {
    height: 200px;
    object-fit: cover;
}

/* Chat Interface */
.chat-container {
    height: 400px;
    overflow-y: auto;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
}

.message {
    margin-bottom: 1rem;
}

.message.sent {
    text-align: right;
}

.message.sent .message-bubble {
    background: var(--primary-color);
    color: white;
    margin-left: auto;
}

.message-bubble {
    display: inline-block;
    max-width: 70%;
    padding: 0.75rem 1rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        text-align: center;
    }
    
    .dashboard-sidebar {
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: none;
}

/* Tables */
.table {
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    background: var(--light-color);
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

/* Pagination */
.pagination {
    border-radius: 6px;
}

.page-link {
    border-color: #dee2e6;
    color: var(--primary-color);
}

.page-link:hover {
    background-color: var(--light-color);
    border-color: var(--primary-color);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Footer */
footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ccc !important;
}

/* Seller Profile Styles */
.seller-profile-header {
    position: relative;
    z-index: 1;
}

.seller-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 0;
}

.seller-avatar-large {
    position: relative;
    z-index: 2;
    border: 4px solid white;
}

.seller-profile-content {
    z-index: 2;
}

.product-card {
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0 !important;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    border: 1px solid #e0e0e0 !important;
}

.product-image {
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.product-image-small {
    border-radius: 8px;
}

.category-item {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-item:hover {
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.sticky-top {
    position: sticky !important;
    z-index: 10;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .seller-profile-content {
        margin-top: -80px !important;
    }
    
    .seller-avatar-large {
        width: 80px !important;
        height: 80px !important;
        font-size: 1.8rem !important;
    }
    
    .seller-banner {
        height: 200px !important;
    }
}
