/* =========================================================
   TODAY'S AUCTIONS PAGE - PROFESSIONAL UI
   ========================================================= */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --light: #f8fafc;
    --white: #ffffff;
    --text: #334155;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 24px 64px rgba(15, 23, 42, 0.18);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* =========================================================
   PAGE HERO
   ========================================================= */
.page-hero {
    position: relative;
    padding: 100px 0 70px;
    background: url('https://images.unsplash.com/photo-1531415074968-036ba1b575da?w=1600') center/cover fixed;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(37, 99, 235, 0.75) 100%);
    z-index: 1;
}

.page-hero .container {
    z-index: 2;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.page-hero-badge .pulse-dot {
    width: 7px;
    height: 7px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.page-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -1.5px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
    margin: 0 auto 25px;
    line-height: 1.7;
}

.page-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-breadcrumb .breadcrumb-item,
.page-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 500;
}

.page-breadcrumb .breadcrumb-item a:hover {
    color: var(--white);
    text-decoration: none;
}

.page-breadcrumb .breadcrumb-item.active {
    color: var(--white);
    font-weight: 600;
}

.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: rgba(255, 255, 255, 0.4);
}

/* =========================================================
   AUCTIONS LIST SECTION
   ========================================================= */
.auctions-list-section {
    padding: 60px 0 90px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    min-height: 500px;
}

/* =========================================================
   TOOLBAR
   ========================================================= */
.auctions-toolbar {
    background: var(--white);
    padding: 20px 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.results-info {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-size: 1rem;
}

.results-info i {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.results-info strong {
    color: var(--dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.toolbar-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    pointer-events: none;
    font-size: 0.9rem;
}

.search-box input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
    transition: var(--transition);
    background: var(--light);
    font-family: 'Mukta', sans-serif;
}

.search-box input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.search-box input::placeholder {
    color: var(--gray);
}

/* =========================================================
   AUCTION CARD
   ========================================================= */
.auction-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.auction-item-link:hover {
    text-decoration: none;
    color: inherit;
}

.auction-item {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.auction-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.auction-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.3);
}

.auction-item:hover::before {
    transform: scaleX(1);
}

/* Badge */
.auction-item-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(239, 68, 68, 0.95);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    text-transform: uppercase;
}

.auction-item-badge .pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

/* Logo */
.auction-item-logo {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-light);
}

.auction-item-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.auction-item-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.auction-item:hover .auction-item-logo img {
    transform: scale(1.1) rotate(-2deg);
}

/* Content */
.auction-item-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.auction-item-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.3;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Details */
.auction-item-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    background: var(--light);
    border-radius: var(--radius);
    margin-bottom: 20px;
    flex: 1;
}

.detail-row {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.detail-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 0.85rem;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
    flex-shrink: 0;
}

.detail-label {
    color: var(--gray);
    font-weight: 500;
    font-size: 0.88rem;
}

.detail-value {
    color: var(--dark);
    font-weight: 700;
    font-size: 0.9rem;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Footer */
.auction-item-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4px;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

.view-btn i {
    transition: transform 0.3s ease;
}

.auction-item:hover .view-btn {
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45);
    transform: translateY(-2px);
}

.auction-item:hover .view-btn i {
    transform: translateX(5px);
}

/* =========================================================
   EMPTY STATE
   ========================================================= */
.empty-state-lg {
    text-align: center;
    padding: 80px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    max-width: 620px;
    margin: 30px auto;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    animation: float 3s ease-in-out infinite;
}

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

.empty-state-lg h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.empty-state-lg p {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.empty-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.empty-actions .btn {
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
}

/* =========================================================
   NO RESULTS
   ========================================================= */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    max-width: 500px;
    margin: 30px auto;
}

.no-results i {
    font-size: 3rem;
    color: var(--gray-light);
    margin-bottom: 20px;
    display: block;
}

.no-results h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.no-results p {
    color: var(--gray);
    margin: 0;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

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

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

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
    .page-hero { padding: 80px 0 55px; }
    .page-hero-title { font-size: 2.75rem; }
    .page-hero-subtitle { font-size: 1.05rem; }
    .auctions-list-section { padding: 50px 0 70px; }
    .auctions-toolbar { padding: 18px 20px; }
    .search-box { max-width: 100%; }
    .toolbar-actions { justify-content: flex-start; margin-top: 12px; }
}

@media (max-width: 767px) {
    .page-hero { padding: 65px 0 45px; }
    .page-hero-title { font-size: 2rem; }
    .page-hero-subtitle { font-size: 0.95rem; }
    .page-hero-badge { font-size: 0.72rem; padding: 6px 14px; }
    .auctions-list-section { padding: 40px 0 60px; }
    .auctions-toolbar { padding: 16px; }
    .results-info { font-size: 0.92rem; }
    .results-info i { width: 36px; height: 36px; }
    .auction-item-logo { height: 160px; padding: 20px; }
    .auction-item-content { padding: 20px; }
    .auction-item-title { font-size: 1.05rem; min-height: auto; }
    .detail-row { font-size: 0.85rem; grid-template-columns: 30px 1fr auto; gap: 8px; }
    .detail-icon { width: 30px; height: 30px; font-size: 0.78rem; }
    .view-btn { padding: 11px 24px; font-size: 0.85rem; }
    .empty-state-lg { padding: 60px 20px; }
    .empty-icon { width: 85px; height: 85px; font-size: 2.1rem; }
    .empty-state-lg h3 { font-size: 1.4rem; }
    .empty-actions { flex-direction: column; }
    .empty-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
    .page-hero-title { font-size: 1.6rem; }
    .page-hero-subtitle { font-size: 0.88rem; }
    .auction-item-badge { font-size: 0.65rem; padding: 5px 11px; }
    .auction-item-logo { height: 140px; }
    .auction-item-title { font-size: 0.98rem; }
    .detail-row { font-size: 0.8rem; }
    .detail-value { font-size: 0.82rem; }
}