/* Admin Layout Styles */
.admin-container {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(18, 18, 18, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.admin-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    padding-bottom: 1.5rem;
}

    .admin-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        height: 5px;
        width: 100px;
        background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.3), transparent);
        border-radius: 3px;
    }

/* Dashboard Cards */
.admin-card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

    .admin-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
        transition: left 0.6s;
    }

    .admin-card:hover::before {
        left: 100%;
    }

    .admin-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.3));
        opacity: 0;
        transition: all 0.4s ease;
    }

    .admin-card:hover {
        transform: translateY(-8px) scale(1.01);
        box-shadow: 0 16px 48px rgba(255, 255, 255, 0.1), 0 8px 24px rgba(0, 0, 0, 0.4);
        border-color: rgba(255, 255, 255, 0.15);
        background: rgba(34, 34, 34, 0.8);
    }

        .admin-card:hover::after {
            opacity: 1;
        }

.admin-card-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
}

    .admin-card-title i {
        margin-right: 0.75rem;
        font-size: 1.75rem;
        opacity: 0.9;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .admin-card:hover .admin-card-title i {
        transform: scale(1.15) rotate(5deg);
    }

.admin-card-count {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-card-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Admin Buttons */
.admin-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.875rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

    .admin-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .admin-btn:hover::before {
        left: 100%;
    }

    .admin-btn:hover {
        background: #ffffff;
        color: #0a0a0a;
        border-color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
    }

.admin-btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    color: #0a0a0a;
    border-color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

    .admin-btn-primary:hover {
        background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
        box-shadow: 0 8px 24px rgba(255, 255, 255, 0.4);
    }

.admin-btn-danger {
    background: rgba(220, 53, 69, 0.2);
    color: #ff4444;
    border-color: rgba(220, 53, 69, 0.3);
}

    .admin-btn-danger:hover {
        background: #dc3545;
        color: #ffffff;
        border-color: #dc3545;
        box-shadow: 0 8px 24px rgba(220, 53, 69, 0.4);
    }

/* Recent Items Table */
.admin-table {
    width: 100%;
    margin-top: 1.5rem;
    border-collapse: separate;
    border-spacing: 0;
}

    .admin-table th {
        color: rgba(255, 255, 255, 0.8);
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.875rem;
        letter-spacing: 1.5px;
        padding: 1.25rem 1rem;
        border-bottom: 2px solid rgba(255, 255, 255, 0.15);
        background: rgba(255, 255, 255, 0.03);
    }

    .admin-table td {
        color: #ffffff;
        padding: 1.25rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-weight: 400;
    }

    .admin-table tbody tr {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

        .admin-table tbody tr:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: scale(1.01);
        }

        .admin-table tbody tr:last-child td {
            border-bottom: none;
        }

/* Status Badges */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.3);
}

.status-completed {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border-color: rgba(40, 167, 69, 0.3);
}

.status-cancelled {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.3);
}

/* Quick Stats */
.quick-stat {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.quick-stat:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.quick-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.quick-stat:hover .quick-stat-icon {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.quick-stat-info {
    flex: 1;
}

.quick-stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-stat-value {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.item-image-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(34, 34, 34, 0.8);
    transition: all 0.3s ease;
}

.item-image-thumb:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

/* Form Styles */
.dark-input {
    background: rgba(26, 26, 26, 0.8) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease !important;
}

.dark-input:focus {
    background: rgba(34, 34, 34, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important;
    outline: none !important;
    color: #ffffff !important;
}

.dark-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.form-control.dark-input option {
    background: #1a1a1a;
    color: #ffffff;
}

/* Additional Admin Styles */
.admin-card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.admin-card-price {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.admin-card-collection {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-container {
        padding: 1.5rem;
        margin: 1rem 0;
    }

    .admin-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .admin-card {
        padding: 1.5rem;
    }

    .admin-card-count {
        font-size: 2.5rem;
    }

    .admin-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
}