/* Seller Dashboard Styles */

.seller-tabs-nav {
    display: flex;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 16px;
    margin-bottom: 25px;
    gap: 5px;
}

.seller-tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.seller-tab-btn svg {
    width: 18px;
    height: 18px;
}

.seller-tab-btn.active {
    background: white !important;
    color: #1e293b !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* User & Code Item Cards */
.user-management-item,
.code-item {
    padding: 18px;
    border-radius: 20px;
    background: white;
    border: 1px solid #f1f5f9;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.user-management-item:hover,
.code-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border-color: #FF512F20;
    transform: translateY(-2px);
}

.status-badge {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: #dcfce7;
    color: #166534;
}

.status-locked {
    background: #fee2e2;
    color: #ef4444;
}

.status-unused {
    background: #fff7ed;
    color: #C2410C;
}

.status-used {
    background: #f1f5f9;
    color: #475569;
}

/* Code History List */
.code-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

.code-list::-webkit-scrollbar {
    width: 6px;
}

.code-list::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

/* Forms in Dashboard */
.btn-generate {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #FF512F 0%, #DD2476 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(255, 81, 47, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 81, 47, 0.3);
}

.dashboard-select {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 2px solid #f1f5f9;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.dashboard-select:focus {
    border-color: #FF512F;
    outline: none;
}

/* Responsive Grid for Cards */
@media (min-width: 768px) {

    .user-management-list,
    .code-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 15px;
        max-height: none;
    }
}