﻿.backorder-hero {
    background: linear-gradient(135deg, #fa8c16 0%, #ff6b35 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

    .backorder-hero h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .backorder-hero p {
        font-size: 1.1rem;
        opacity: 0.9;
        max-width: 600px;
        margin: 0 auto;
    }

.search-section {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid #e9ecef;
}

.search-container {
    max-width: 1300px;
    margin: 0 auto;
}

.search-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.search-tabs {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    height: 52px;
    padding:0px 10px;
}

    .search-tabs .el-tabs {
        width: 100%;
        padding: 0px 15px;
    }

    .search-tabs .el-tabs__header {
        margin-bottom: 0;
        height: 100%;
    }

    .search-tabs .el-tabs__nav-wrap {
        display: flex;
        align-items: center;
    }

    .search-tabs .el-tabs__nav {
        display: flex;
        align-items: center;
    }

    .search-tabs .el-tabs__item {
        line-height: 52px;
        display: flex;
        align-items: center;
        padding: 0 20px;
    }
.el-tabs__nav-wrap::after{
    height:0px;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 8px 16px;
    transition: border-color 0.3s ease;
    flex: 2;
    min-width: 400px;
    height: 52px;
    padding-right:0px;
}

    .search-input-group:focus-within {
        border-color: #fa8c16;
    }

    .search-input-group input {
        flex: 1;
        border: none;
        outline: none;
        background: transparent;
        font-size: 16px;
        padding: 12px 0;
        color: #333;
    }

.search-btn {
    background: #fa8c16;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .search-btn:hover {
        background: #e67e0f;
    }

.filters-section {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.backorder-section {
    padding: 40px 0;
    background: white;
}

.backorder-stats {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fa8c16;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

    .table-container .el-table {
        width: 100% !important;
        table-layout: fixed;
    }

    .table-container .el-table__body-wrapper {
        width: 100% !important;
    }

    .table-container .el-table__header-wrapper {
        width: 100% !important;
    }

    .table-container .el-table__body,
    .table-container .el-table__header {
        width: 100% !important;
    }

    .table-container .el-table__row {
        width: 100% !important;
    }

    .table-container .el-table__cell {
        box-sizing: border-box;
    }

.table-header {
    background: #fa8c16;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.table-actions {
    display: flex;
    gap: 10px;
}

.backorder-btn {
    background: #fa8c16;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .backorder-btn:hover {
        background: #e67e0f;
    }

    .backorder-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

.domain-name {
    font-weight: 600;
    color: #333;
}

.domain-category {
    display: inline-block;
    background: #e9ecef;
    color: #666;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.expiry-date {
    color: #dc3545;
    font-weight: 600;
}

.backorder-price {
    font-weight: 700;
    color: #fa8c16;
}

.status-available {
    color: #28a745;
    font-weight: 600;
}

.status-taken {
    color: #dc3545;
    font-weight: 600;
}

.status-pending {
    color: #ffc107;
    font-weight: 600;
}

.pagination-section {
    background: white;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

    .empty-state i {
        font-size: 4rem;
        color: #e9ecef;
        margin-bottom: 20px;
    }

    .empty-state h3 {
        margin-bottom: 10px;
        color: #333;
    }

@media (max-width: 768px) {
    .search-row {
        flex-direction: column;
        gap: 15px;
    }

    .search-tabs {
        min-width: 100%;
        margin-bottom: 0px !important;
    }

    .search-input-group {
        min-width: 100%;
    }

    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        justify-content: space-between;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .table-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .table-container .el-table {
        font-size: 12px;
    }

    .table-container .el-table__cell {
        padding: 8px 4px;
    }

    .table-container .el-table-column--selection .cell {
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (max-width: 480px) {
    .table-container .el-table {
        font-size: 11px;
    }

    .table-container .el-table__cell {
        padding: 6px 2px;
    }

    .domain-name {
        font-size: 12px;
    }

    .domain-category {
        font-size: 10px;
    }
}

.el-table__body .el-table__cell:first-child {
    padding:unset !important;
    text-align:center;
}