/* ============================================
   LELANG PAGE STYLES
   ============================================ */

.lelang-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
}

.lelang-header {
    text-align: center;
    margin-bottom: 40px;
}

.lelang-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.lelang-header p {
    color: #64748b;
    font-size: 1rem;
}

.lelang-header-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    margin: 20px auto 0;
    border-radius: 4px;
}

.lelang-filter {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 40px;
    border: 1px solid #eef2f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.lelang-filter-title {
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lelang-filter-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.lelang-filter-select {
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
}

.lelang-filter-btn {
    padding: 10px 20px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.lelang-filter-btn:hover {
    background: #1d4ed8;
}

.lelang-filter-reset {
    padding: 10px 20px;
    background: #f1f5f9;
    color: #475569;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.lelang-filter-reset:hover {
    background: #e2e8f0;
}

.lelang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.lelang-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #eef2f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.lelang-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.12);
}

.lelang-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.lelang-card-header {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.lelang-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lelang-card:hover .lelang-card-image {
    transform: scale(1.05);
}

.lelang-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 1;
}

.lelang-card-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    z-index: 1;
}

.lelang-card-body {
    padding: 20px;
}

.lelang-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
    line-height: 1.4;
}

.lelang-card-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 15px;
}

.lelang-card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 15px;
}

.lelang-price-label {
    font-size: 0.8rem;
    color: #64748b;
}

.lelang-price-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3b82f6;
}

.lelang-date {
    font-size: 0.75rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lelang-card-footer {
    text-align: center;
}

.lelang-btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.lelang-btn-detail:hover {
    background: #1d4ed8;
    gap: 12px;
    color: white;
}

.lelang-countdown {
    background: #fef3c7;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #b45309;
    text-align: center;
    margin-top: 10px;
}

.lelang-countdown.closed {
    background: #fee2e2;
    color: #dc2626;
}

.lelang-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eef2f6;
}

.lelang-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    background: white;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.lelang-pagination a:hover,
.lelang-pagination .lelang-active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.lelang-pagination .lelang-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.lelang-empty {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    border: 1px solid #eef2f6;
}

.lelang-empty i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.lelang-empty h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .lelang-container { padding: 30px 16px; }
    .lelang-header h1 { font-size: 1.5rem; }
    .lelang-grid { grid-template-columns: 1fr; gap: 20px; }
    .lelang-filter { flex-direction: column; align-items: flex-start; }
    .lelang-filter-form { width: 100%; flex-direction: column; }
    .lelang-filter-select,
    .lelang-filter-btn,
    .lelang-filter-reset { width: 100%; }
}

@media (max-width: 576px) {
    .lelang-card-info { flex-direction: column; gap: 8px; align-items: flex-start; }
}