/* Base Styles */
:root {
    --primary-color: #6F4E37;
    --primary-light: #8B6B4D;
    --secondary-color: #C4A484;
    --accent-color: #E5C8A8;
    --light-color: #F5F5F5;
    --dark-color: #333333;
    --success-color: #28a745;
    --error-color: #dc3545;
    --info-color: #17a2b8;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

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

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

.btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-left, .navbar-right {
    display: flex;
    align-items: center;
}

.navbar-right {
    gap: 10px;
}
.navbar-center {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Scroll to Top Button Styles */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #6F4E37;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #8B6B4D;
    transform: translateY(-3px);
}

.scroll-to-top:active {
    transform: translateY(0);
}

/* Modern Footer Styles */
.modern-footer {
    background-color: #2a2a2a;
    color: #ffffff;
    padding: 60px 0 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

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

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    margin-right: 10px;
}

.footer-tagline {
    color: #b0b0b0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.newsletter h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: #b0b0b0;
}

.btn-subscribe {
    background-color: #6F4E37;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-subscribe:hover {
    background-color: #8B6B4D;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.links-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.links-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #6F4E37;
}

.links-column ul {
    list-style: none;
    padding: 0;
}

.links-column li {
    margin-bottom: 12px;
}

.links-column a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
}

.links-column a:hover {
    color: #ffffff;
}

.contact-info i {
    margin-right: 10px;
    color: #6F4E37;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    flex-wrap: wrap;
}

.copyright {
    color: #b0b0b0;
    font-size: 14px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: #6F4E37;
    transform: translateY(-3px);
}

.language-selector select {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
}

/* Admin Greeting */
.admin-greeting {
    margin-right: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    display: none;
}

@media (min-width: 768px) {
    .admin-greeting {
        display: inline;
    }
}

/* Notification Styles */
.notification-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
}

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

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    max-height: 500px;
    overflow: hidden;
    flex-direction: column;
}

.notification-header {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.notification-header h4 {
    margin: 0;
    font-size: 1rem;
}

.mark-all-read {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-decoration: none;
}

.notification-list {
    padding: 0;
    overflow-y: auto;
    flex-grow: 1;
}

.notification-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    position: relative;
}

.notification-item.empty {
    text-align: center;
    padding: 2rem 1rem;
    color: #666;
}

.notification-item.unread {
    background-color: #f8f9fa;
}

.notification-time {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.notification-time:before {
    content: '·';
    margin-right: 3px;
}

.notification-item.unread .notification-time {
    font-weight: bold;
    color: var(--primary-color);
}

.mark-read {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.8rem;
    color: var(--primary-color);
    text-decoration: none;
}

/* Scrollbar styling */
.notification-list::-webkit-scrollbar {
    width: 6px;
}

.notification-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 8px 8px 0;
}

.notification-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Admin-specific nav styles */
.admin-nav .navbar-center {
    gap: 1rem;
}

.admin-nav .nav-link.active {
    color: var(--primary-color);
    position: relative;
}

.admin-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Auction Grid */
.auction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.auction-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.auction-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.auction-details {
    padding: 1.5rem;
}

.current-bid {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

/* Auth Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.auth-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 500px;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
}

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

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Alert Styles */
.alert {
    padding: 1rem 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.1);
    color: var(--info-color);
    border: 1px solid rgba(23, 162, 184, 0.2);
}

/* Admin Styles */
.admin-container {
    padding: 2rem 0;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.admin-table th, .admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.admin-table th {
    background-color: var(--light-color);
    font-weight: 600;
}

.admin-table tr:hover {
    background-color: rgba(111, 78, 55, 0.05);
}

/* Admin Auction View */
.admin-auction-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.admin-view .bid-info {
    margin-bottom: 0;
}

.admin-view .auction-item {
    position: relative;
}

.admin-view-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.inline-form {
    display: inline;
}

/* Auction List */
.auction-list {
    margin-top: 2rem;
}

.auction-item {
    display: flex;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.auction-item-image {
    width: 300px;
    height: 250px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.auction-item-details {
    padding: 1.5rem;
    flex-grow: 1;
}

/* Auction time styles */
.auction-ended {
    opacity: 0.7;
    background-color: #f8f9fa;
}

.auction-ended td {
    color: #6c757d;
}

/* DateTime input styling */
input[type="datetime-local"] {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

/* Countdown timer */
.time-remaining {
    font-weight: 500;
    color: var(--primary-color);
}

.time-ended {
    color: var(--error-color);
    font-weight: 500;
}

.bid-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
}

.bid-current {
    display: flex;
    align-items: center;
}

.bid-label {
    margin-right: 0.5rem;
    font-weight: 500;
}

.bid-amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.bid-count {
    color: #666;
}

.bid-form {
    margin-top: 1.5rem;
}

.user-greeting {
    margin-right: 1rem;
    font-weight: 500;
}

/* User Status Badges */
.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-badge.approved {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.suspended {
    background-color: #f8d7da;
    color: #721c24;
}

/* Dropdown Actions */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}

.dropdown-link {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--dark-color);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-link:hover {
    background-color: #f8f9fa;
}

.actions-cell {
    white-space: nowrap;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
    font-weight: 600;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.tab-content {
    display: none;
}

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

/* Form Card */
.form-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

/* Admin Section Header */
.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* Item Thumbnail */
.item-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

/* Error Button */
.btn-error {
    background-color: var(--error-color);
    color: white;
}

.btn-error:hover {
    background-color: #c82333;
}

/* File Input */
input[type="file"] {
    padding: 0.5rem;
}

/* Small Text */
small {
    font-size: 0.8rem;
    color: #666;
    display: block;
    margin-top: 0.25rem;
}

.limited-badge {
    background-color: #ffc107;
    color: #000;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
}

/* Product View Styles */
.product-view {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.product-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: block;
    padding: 0;
    height: auto;
    background: none;
}

.product-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    margin: 0 auto;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.description {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.description h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.bid-info {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    font-weight: 500;
    color: #555;
    min-width: 120px;
}

.info-row .value {
    font-weight: 600;
    text-align: right;
}

.info-row .value.active {
    color: var(--success-color);
}

.info-row .value.ended {
    color: var(--error-color);
}

/* Bid Form Styling */
.bid-form {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(111, 78, 55, 0.1);
    border: 1px solid #e5c8a8;
    margin-top: 1.5rem;
}

.bid-form .form-group {
    margin-bottom: 1.5rem;
}

.bid-form label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: #6F4E37;
    font-size: 1.1rem;
}

.bid-form input[type="number"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5c8a8;
    border-radius: 8px;
    font-size: 1.2rem;
    color: #6F4E37;
    transition: all 0.3s ease;
    background: #f9f5f0;
}

.bid-form input[type="number"]:focus {
    outline: none;
    border-color: #6F4E37;
    box-shadow: 0 0 0 3px rgba(111, 78, 55, 0.2);
}

.bid-form .btn-primary {
    width: 100%;
    padding: 1rem;
    background-color: #6F4E37;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bid-form .btn-primary:hover {
    background-color: #8B6B4D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(111, 78, 55, 0.2);
}

.bid-form .btn-primary:active {
    transform: translateY(0);
}

/* Bid amount input styling */
.bid-amount-container {
    position: relative;
}

.bid-amount-container::before {
    content: '$';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #6F4E37;
    font-weight: 500;
}

.bid-form input#bid-amount {
    padding-left: 2.5rem;
    font-weight: 600;
}

.bid-history {
    margin-top: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.history-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1.5rem;
}

.history-table th {
    background-color: #f8f9fa;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #333;
}

.history-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.history-table tr:last-child td {
    border-bottom: none;
}

/* Anonymous Bidding Styles */
.anonymous-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0;
}

.anonymous-checkbox input {
    width: auto;
    margin: 0;
}

.anonymous-bidder {
    color: #666;
    font-style: italic;
}

.anonymous-you {
    font-size: 0.8em;
    color: #6F4E37;
    margin-left: 0.5rem;
}

.history-table td {
    vertical-align: middle;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smooth transitions for mobile navbar hide/show on scroll */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }
    
    .navbar-center {
        margin: 1rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .auction-item {
        flex-direction: column;
    }
    
    .auction-item-image {
        width: 100%;
        height: 200px;
    }

    .notification-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 12px 12px 0 0;
        max-height: 60vh;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    }
    
    .notification-header {
        padding: 15px;
    }
    
    .notification-item {
        padding: 15px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-bottom {
        flex-direction: row;
        text-align: left;
    }
    
    .copyright {
        margin-bottom: 0;
    }

    .product-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem 0;
    }
    
    .info-row .value {
        text-align: left;
        width: 100%;
    }

    .bid-form {
        padding: 1.5rem;
    }
    
    .bid-form label {
        font-size: 1rem;
    }
    
    .bid-form input[type="number"] {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .bid-form .btn-primary {
        padding: 0.8rem;
        font-size: 1rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .navbar-center,
    .logo {
        transition: opacity 0.35s cubic-bezier(.4,0,.2,1), transform 0.35s cubic-bezier(.4,0,.2,1);
    }
    .navbar.scrolled .navbar-center,
    .navbar.scrolled .logo {
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
    }
    .navbar-center,
    .logo {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (max-width: 480px) {
    .navbar-center {
        gap: 1rem;
    }
    
    .auth-card {
        padding: 1.5rem;
    }

    .footer-column {
        padding: 0;
        margin-bottom: 2rem;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Bid Confirmation Modal Custom Styles */
#bidConfirmModal .modal-content {
    border: 2.5px solid var(--primary-color, #6F4E37);
    box-shadow: 0 8px 32px rgba(111, 78, 55, 0.18);
    animation: bidModalSlideIn 0.35s cubic-bezier(.4,0,.2,1);
    background: linear-gradient(135deg, #fffdfa 80%, #f9f5f0 100%);
    transition: box-shadow 0.3s, border-color 0.3s;
}

#bidConfirmModal .modal-content h3 {
    color: var(--primary-color, #6F4E37);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.2rem;
    animation: fadeInUp 0.5s;
}

#bidConfirmModal .modal-content p {
    font-size: 1.1rem;
    color: #6F4E37;
    margin-bottom: 2rem;
    animation: fadeInUp 0.7s;
}

#bidConfirmModal .btn-primary {
    background: linear-gradient(90deg, #6F4E37 60%, #8B6B4D 100%);
    box-shadow: 0 2px 8px rgba(111, 78, 55, 0.12);
    transition: background 0.2s, transform 0.2s;
}
#bidConfirmModal .btn-primary:hover {
    background: linear-gradient(90deg, #8B6B4D 60%, #6F4E37 100%);
    transform: translateY(-2px) scale(1.04);
}
#bidConfirmModal .btn-primary:active {
    transform: scale(0.98);
}
#bidConfirmModal .btn-outline {
    border: 2px solid #e5c8a8;
    color: #6F4E37;
    background: #fffdfa;
    transition: background 0.2s, color 0.2s;
}
#bidConfirmModal .btn-outline:hover {
    background: #f9f5f0;
    color: #8B6B4D;
}
#bidConfirmModal .close {
    color: #8B6B4D;
    transition: color 0.2s, transform 0.2s;
}
#bidConfirmModal .close:hover {
    color: #dc3545;
    transform: scale(1.2) rotate(10deg);
}
@keyframes bidModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}