/* =================================================================
   Auction Requests Page Styles
   Modern, responsive design for auction entry requests display
   ================================================================= */

/* Page Header */
.auction-requests-header {
    margin-bottom: 2.5rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #ffdf00 0%, #d4b800 100%);
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(255, 223, 0, 0.25);
}

.auction-requests-header .header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.auction-requests-header .page-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 2rem;
    font-weight: 700;
    color: #0b0b0b;
    margin: 0 0 0.5rem 0;
}

.auction-requests-header .title-icon {
    font-size: 1.75rem;
    color: #0b0b0b;
}

.auction-requests-header .page-subtitle {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.75);
    margin: 0;
    font-weight: 400;
}

/* Requests Container */
.requests-container {
    padding: 0 1rem;
}

/* Requests Grid */
.requests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

/* Request Card */
.request-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
}

.request-card:hover {
    box-shadow: 0 12px 32px rgba(255, 223, 0, 0.2);
    transform: translateY(-4px);
    border-color: #ffdf00;
}

/* Card Header */
.request-card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.user-avatar-section {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder-auction {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0b0b0b 100%);
    color: #ffdf00;
    font-size: 2rem;
}

.user-info-section {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.request-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.date-icon {
    font-size: 0.75rem;
    color: #ffdf00;
}

/* Card Body */
.request-card-body {
    padding: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.875rem 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.detail-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4b5563;
    flex-shrink: 0;
}

.detail-icon {
    font-size: 1rem;
    color: #ffdf00;
}

.detail-value {
    font-size: 0.9375rem;
    color: #1f2937;
    font-weight: 500;
    text-align: left;
    max-width: 60%;
}

.price-value {
    color: #d4b800;
    font-weight: 700;
    font-size: 1.0625rem;
}

.auction-date {
    font-size: 0.8125rem;
    line-height: 1.4;
}

.license-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #ffdf00 0%, #d4b800 100%);
    color: #0b0b0b;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.license-link:hover {
    background: linear-gradient(135deg, #d4b800 0%, #c4a800 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 223, 0, 0.3);
}

/* Card Footer */
.request-card-footer {
    padding: 1rem 1.5rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.status-confirmed {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.status-icon {
    font-size: 1rem;
}

/* Empty State */
.empty-state-auction {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 3rem 1.5rem;
}

.empty-state-content-auction {
    text-align: center;
    max-width: 400px;
}

.empty-state-content-auction .empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    opacity: 0.5;
}

.empty-state-content-auction .empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.75rem 0;
}

.empty-state-content-auction .empty-description {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

/* Pagination Container */
.pagination-container-auction {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

/* ===========================================================================
   Responsive Design - Mobile First Approach
   =========================================================================== */

/* Large Tablets (992px - 1199px) */
@media (max-width: 1199px) {
    .requests-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
        gap: 1.25rem;
    }

    .auction-requests-header .page-title {
        font-size: 1.75rem;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    .requests-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1rem;
    }

    .auction-requests-header {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }

    .auction-requests-header .page-title {
        font-size: 1.5rem;
    }

    .auction-requests-header .title-icon {
        font-size: 1.5rem;
    }

    .auction-requests-header .page-subtitle {
        font-size: 0.9375rem;
    }

    .request-card-header {
        padding: 1.25rem;
    }

    .user-avatar-section {
        width: 56px;
        height: 56px;
    }

    .avatar-placeholder-auction {
        font-size: 1.75rem;
    }

    .user-name {
        font-size: 1.0625rem;
    }
}

/* Mobile Devices (576px - 767px) */
@media (max-width: 767px) {
    .requests-container {
        padding: 0 0.5rem;
    }

    .requests-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .auction-requests-header {
        padding: 1.25rem 0.75rem;
        margin-bottom: 1.5rem;
        border-radius: 0.75rem;
    }

    .auction-requests-header .page-title {
        font-size: 1.375rem;
        gap: 0.5rem;
    }

    .auction-requests-header .title-icon {
        font-size: 1.25rem;
    }

    .auction-requests-header .page-subtitle {
        font-size: 0.875rem;
    }

    .request-card {
        border-radius: 0.75rem;
    }

    .request-card-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .user-avatar-section {
        width: 48px;
        height: 48px;
        margin: 0 auto;
    }

    .user-info-section {
        width: 100%;
        text-align: center;
    }

    .user-name {
        font-size: 1rem;
        text-align: center;
    }

    .request-date {
        justify-content: center;
        font-size: 0.8125rem;
    }

    .request-card-body {
        padding: 1rem;
    }

    .detail-row {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 0;
    }

    .detail-label {
        width: 100%;
        font-size: 0.8125rem;
    }

    .detail-value {
        width: 100%;
        max-width: 100%;
        text-align: right;
        font-size: 0.875rem;
    }

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

    .auction-date {
        font-size: 0.75rem;
    }

    .license-link {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
        width: 100%;
        justify-content: center;
    }

    .request-card-footer {
        padding: 0.875rem 1rem;
        justify-content: center;
    }

    .status-badge {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }

    .empty-state-auction {
        min-height: 300px;
        padding: 2rem 1rem;
    }

    .empty-state-content-auction .empty-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }

    .empty-state-content-auction .empty-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .empty-state-content-auction .empty-description {
        font-size: 0.9375rem;
    }

    .pagination-container-auction {
        padding: 1.5rem 0;
        margin-top: 1.5rem;
    }
}

/* Small Mobile (max 575px) */
@media (max-width: 575px) {
    .auction-requests-header {
        padding: 1rem 0.5rem;
        margin-bottom: 1rem;
    }

    .auction-requests-header .page-title {
        font-size: 1.25rem;
        gap: 0.375rem;
    }

    .auction-requests-header .title-icon {
        font-size: 1.125rem;
    }

    .auction-requests-header .page-subtitle {
        font-size: 0.8125rem;
    }

    .user-avatar-section {
        width: 44px;
        height: 44px;
    }

    .avatar-placeholder-auction {
        font-size: 1.5rem;
    }

    .user-name {
        font-size: 0.9375rem;
    }

    .request-date {
        font-size: 0.75rem;
    }

    .detail-label {
        font-size: 0.75rem;
    }

    .detail-icon {
        font-size: 0.875rem;
    }

    .detail-value {
        font-size: 0.8125rem;
    }

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

    .license-link {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }

    .status-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .empty-state-content-auction .empty-icon {
        width: 80px;
        height: 80px;
    }

    .empty-state-content-auction .empty-title {
        font-size: 1.125rem;
    }

    .empty-state-content-auction .empty-description {
        font-size: 0.875rem;
    }
}

/* Extra Small Mobile (max 400px) */
@media (max-width: 400px) {
    .auction-requests-header .page-title {
        font-size: 1.125rem;
        flex-direction: column;
        text-align: center;
    }

    .detail-label,
    .detail-value {
        font-size: 0.75rem;
    }

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

    .request-card-body {
        padding: 0.75rem;
    }
}
