/* Auctions/Marketplace Styles */

/* ================================
   Browse Page (auctions.html)
   ================================ */

.auctions-section {
    padding: 0;
    min-height: calc(100vh - 200px);
    background: linear-gradient(180deg, #f0f4f8 0%, #ffffff 100%);
}

/* Hero Header */
.auctions-hero {
    background: linear-gradient(135deg, #1a3a5c 0%, #2B5A9E 50%, #4A90E2 100%);
    padding: 3rem 1.5rem 2.5rem;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.auctions-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.auctions-hero h1 {
    font-size: 2.5rem;
    color: white;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auctions-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin: 0;
    position: relative;
}

/* Toolbar */
.auctions-toolbar {
    background: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 10;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.filter-group select,
.sort-group select {
    padding: 0.5rem 0.75rem;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
}

.filter-group select:focus,
.sort-group select:focus {
    outline: none;
    border-color: #2B5A9E;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 0.5rem;
}

.category-tab {
    padding: 0.5rem 1rem;
    border: 2px solid #e8e8e8;
    border-radius: 20px;
    background: white;
    color: #555;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.category-tab:hover {
    border-color: #2B5A9E;
    color: #2B5A9E;
}

.category-tab.active {
    background: linear-gradient(135deg, #2B5A9E 0%, #4A90E2 100%);
    color: white;
    border-color: transparent;
}

/* Sort Group */
.sort-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-group label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

/* Create Button */
.create-auction-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.create-auction-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.create-auction-btn .btn-icon {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Auction Count */
.auctions-count {
    padding: 1rem 0.25rem 0.75rem;
    color: #666;
    font-size: 0.85rem;
}

#auction-count {
    font-weight: 700;
    color: #2B5A9E;
}

/* Auctions Grid */
.auctions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding-bottom: 2rem;
}

/* Auction Card */
.auction-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
}

.auction-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.auction-image {
    position: relative;
    width: 100%;
    height: 200px;
    background: #f0f4f8;
    overflow: hidden;
}

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

.buyout-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.country-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
}

.auction-info {
    padding: 1rem;
}

.auction-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.auction-category {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.auction-condition {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-weight: 700;
}

.auction-condition.excellent {
    background: #d4edda;
    color: #155724;
}

.auction-condition.good {
    background: #fff3cd;
    color: #856404;
}

.auction-condition.fair {
    background: #f8d7da;
    color: #721c24;
}

.auction-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.25rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.auction-disc-name {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.auction-price {
    margin-bottom: 0.75rem;
}

.auction-price .price-label {
    font-size: 0.7rem;
    color: #888;
    display: block;
}

.auction-price .price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2B5A9E;
}

.auction-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
}

.auction-bids {
    font-size: 0.8rem;
    color: #888;
}

.auction-time {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
}

.auction-time.ending-soon {
    color: #dc3545;
}

.auction-time.ended {
    color: #999;
}

/* No Auctions Message */
.no-auctions {
    text-align: center;
    padding: 4rem 2rem;
}

.no-auctions-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.no-auctions-text {
    font-size: 1.5rem;
    color: #444;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.no-auctions-subtext {
    font-size: 1rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.create-auction-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.create-auction-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.35);
}

/* Loading */
.loading-message {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e8e8e8;
    border-top-color: #2B5A9E;
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ================================
   Detail Page (auction-detail.html)
   ================================ */

.auction-detail-section {
    padding: 2rem 1rem;
    background: #f5f7fa;
    min-height: calc(100vh - 200px);
}

.auction-detail-section > .container {
    max-width: 1000px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2B5A9E;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.back-link:hover {
    text-decoration: underline;
}

.auction-detail-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.auction-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

/* Image Section */
.auction-image-section {
    position: relative;
    background: #f0f4f8;
}

.auction-main-image {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.auction-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auction-status-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.auction-status-banner.sold {
    background: rgba(40, 167, 69, 0.95);
    color: white;
}

.auction-status-banner.ended {
    background: rgba(108, 117, 125, 0.95);
    color: white;
}

.auction-status-banner.cancelled {
    background: rgba(220, 53, 69, 0.95);
    color: white;
}

/* Info Section */
.auction-info-section {
    padding: 1.5rem;
}

.auction-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.auction-category-badge {
    font-size: 0.7rem;
    color: #666;
    background: #f0f4f8;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.auction-condition-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-weight: 700;
}

.auction-condition-badge.excellent {
    background: #d4edda;
    color: #155724;
}

.auction-condition-badge.good {
    background: #fff3cd;
    color: #856404;
}

.auction-condition-badge.fair {
    background: #f8d7da;
    color: #721c24;
}

.auction-country-badge {
    font-size: 1.25rem;
    line-height: 1;
}

#detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.75rem 0;
}

/* Disc Details */
.disc-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.disc-detail-item {
    display: flex;
    gap: 0.4rem;
}

.disc-label {
    color: #888;
    font-size: 0.85rem;
}

.disc-details span:not(.disc-label) {
    font-weight: 600;
    color: #333;
    font-size: 0.85rem;
}

.auction-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Seller Note Box */
.seller-note-box {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1.25rem;
}

.seller-note-label {
    font-size: 0.75rem;
    color: #92400e;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

#seller-note {
    color: #78350f;
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.current-price-box {
    flex: 1;
    background: linear-gradient(135deg, #f0f4f8 0%, #e5eef8 100%);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.price-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

.price-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2B5A9E;
    margin: 0.25rem 0;
}

.bid-count {
    font-size: 0.8rem;
    color: #888;
}

.time-remaining-box {
    flex: 1;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.time-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

.time-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0.25rem 0;
}

.time-value.ending-soon {
    color: #dc3545;
}

.time-value.ended {
    color: #999;
}

/* Bid Form */
.bid-form {
    margin-bottom: 1rem;
}

.bid-input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}

.bid-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.bid-input-wrapper input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.bid-input-wrapper input:focus {
    outline: none;
    border-color: #2B5A9E;
}

.currency-label {
    font-weight: 600;
    color: #666;
}

.min-bid-hint {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.75rem;
}

.place-bid-btn {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, #2B5A9E 0%, #4A90E2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.place-bid-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(43, 90, 158, 0.3);
}

/* Buyout Section */
.buyout-section {
    padding-top: 0.5rem;
}

.buyout-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.buyout-divider::before,
.buyout-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8e8e8;
}

.buyout-divider span {
    color: #888;
    font-size: 0.85rem;
}

.buyout-box {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.buyout-label {
    font-size: 0.75rem;
    color: #155724;
    text-transform: uppercase;
    font-weight: 600;
}

.buyout-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #155724;
    margin: 0.25rem 0 0.75rem;
}

.buyout-btn {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.buyout-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.35);
}

/* Seller Info */
.seller-info {
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.seller-label {
    color: #888;
}

#seller-name {
    font-weight: 600;
    color: #333;
}

/* Bid History Section */
.bid-history-section {
    padding: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.bid-history-section h3 {
    font-size: 1.1rem;
    margin: 0 0 1rem 0;
    color: #333;
}

.bid-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bid-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.bid-item.highest {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}

.bidder-name {
    flex: 1;
    font-weight: 600;
    color: #333;
}

.bid-amount {
    font-weight: 700;
    color: #2B5A9E;
}

.bid-time {
    font-size: 0.8rem;
    color: #888;
}

.no-bids {
    color: #888;
    text-align: center;
    padding: 1rem;
}

.more-bids {
    text-align: center;
    color: #888;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Winner Section */
.winner-section,
.seller-winner-section {
    padding: 0 1.5rem 1.5rem;
}

.winner-banner,
.seller-winner-banner {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.winner-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.winner-banner h2,
.seller-winner-banner h2 {
    font-size: 1.25rem;
    color: #155724;
    margin: 0 0 0.5rem 0;
}

.winner-banner p,
.seller-winner-banner p {
    color: #155724;
    margin-bottom: 1rem;
}

.contact-reveal {
    background: white;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.5rem;
}

.contact-label {
    color: #666;
    font-size: 0.85rem;
}

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

/* Seller Actions */
.seller-actions {
    padding: 0 1.5rem 1.5rem;
    text-align: center;
}

.cancel-auction-btn {
    padding: 0.75rem 2rem;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cancel-auction-btn:hover {
    background: #c82333;
}

/* ================================
   Create Page (create-auction.html)
   ================================ */

.create-auction-section {
    padding: 2rem 1rem;
    background: #f5f7fa;
    min-height: calc(100vh - 200px);
}

.create-auction-section > .container {
    max-width: 700px;
}

.create-auction-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.create-auction-card h1 {
    font-size: 1.75rem;
    color: #1a1a2e;
    margin: 0 0 0.25rem 0;
}

.form-subtitle {
    color: #666;
    margin-bottom: 2rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 1.5rem;
}

.form-section h3 {
    font-size: 1rem;
    color: #333;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    flex: 1 1 100%;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2B5A9E;
}

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

.currency-display {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

.currency-suffix {
    color: #666;
    font-weight: normal;
}

.field-hint {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.25rem;
}

/* Disc-specific fields */
.disc-specific {
    display: flex;
}

/* Condition Slider */
.form-group input[type="range"] {
    padding: 0;
    height: 8px;
    border: none;
    border-radius: 4px;
    background: #e8e8e8;
    cursor: pointer;
}

.form-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2B5A9E 0%, #4A90E2 100%);
    cursor: pointer;
}

.condition-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.25rem;
}

/* Image Upload */
.image-upload-area {
    border: 2px dashed #d0d0d0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-upload-area:hover {
    border-color: #2B5A9E;
    background: #f8fafc;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.upload-icon {
    font-size: 3rem;
    opacity: 0.5;
}

.upload-text {
    font-weight: 600;
    color: #555;
}

.upload-hint {
    font-size: 0.8rem;
    color: #888;
}

.image-preview {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    object-fit: contain;
}

.remove-image-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-image-btn:hover {
    background: #dc3545;
}

/* Duration Presets */
.duration-presets {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.preset-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e8e8e8;
    border-radius: 20px;
    background: white;
    color: #555;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.preset-btn:hover {
    border-color: #2B5A9E;
    color: #2B5A9E;
}

.preset-btn.active {
    background: linear-gradient(135deg, #2B5A9E 0%, #4A90E2 100%);
    color: white;
    border-color: transparent;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.btn-secondary {
    padding: 0.875rem 1.5rem;
    background: #f0f0f0;
    color: #555;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-primary {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #2B5A9E 0%, #4A90E2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(43, 90, 158, 0.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 768px) {
    /* Browse Page */
    .auctions-hero {
        padding: 2rem 1rem 1.75rem;
    }

    .auctions-hero h1 {
        font-size: 1.8rem;
    }

    .auctions-toolbar {
        padding: 1rem;
        gap: 1rem;
    }

    .category-tabs {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .create-auction-btn .btn-text {
        display: none;
    }

    .create-auction-btn {
        padding: 0.6rem 1rem;
    }

    .auctions-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }

    /* Detail Page */
    .auction-detail-grid {
        grid-template-columns: 1fr;
    }

    .auction-main-image {
        aspect-ratio: 4/3;
    }

    .pricing-section {
        flex-direction: column;
    }

    .bid-item {
        flex-wrap: wrap;
    }

    .bidder-name {
        flex: 1 1 100%;
    }

    /* Create Page */
    .create-auction-card {
        padding: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0.75rem;
    }

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

    .btn-secondary,
    .btn-primary {
        width: 100%;
    }
}

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

    .category-tab {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }

    .auction-card {
        border-radius: 10px;
    }

    .auction-image {
        height: 180px;
    }

    .auction-info {
        padding: 0.875rem;
    }

    .auction-title {
        font-size: 0.95rem;
    }

    /* Detail Page */
    .auction-detail-section {
        padding: 1rem 0.5rem;
    }

    #detail-title {
        font-size: 1.25rem;
    }

    .price-value {
        font-size: 1.5rem;
    }

    .time-value {
        font-size: 1.25rem;
    }

    /* Create Page */
    .create-auction-card {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .create-auction-card h1 {
        font-size: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevent iOS zoom */
    }

    .image-upload-area {
        padding: 1.5rem;
        min-height: 160px;
    }

    .duration-presets {
        justify-content: center;
    }
}
