/* Admin Panel - Keine 3D-Tilt Animation */
#admin-panel .glass-card,
#admin-panel .purchase-item,
#admin-panel .stat-card,
#admin-panel .purchases-list,
.purchase-item,
.stat-card {
    transform: none !important;
    will-change: auto !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    transform-style: flat !important;
}

#admin-panel .glass-card:hover,
#admin-panel .purchase-item:hover,
#admin-panel .stat-card:hover,
.purchase-item:hover,
.stat-card:hover {
    transform: translateY(-5px) !important;
}

/* Admin Panel Styles */

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-logout-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--white);
    border-radius: 8px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.admin-content {
    max-width: 1400px;
    margin: 0 auto;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-tab:hover {
    color: var(--white);
}

.admin-tab.active {
    color: var(--white);
    border-bottom-color: var(--white);
}

.admin-tab-content {
    display: block;
}

.purchases-list {
    padding: 2rem;
}

.purchases-list h3 {
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.purchase-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

.purchase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.purchase-id {
    font-weight: bold;
    color: var(--white);
    font-size: 1.2rem;
}

.purchase-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.5);
}

.status-processing {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.5);
}

.status-completed {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.5);
}

.purchase-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-value {
    color: var(--white);
    font-weight: 600;
}

.purchase-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--white);
    border-radius: 8px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-process {
    background: rgba(33, 150, 243, 0.2);
    border-color: rgba(33, 150, 243, 0.5);
}

.btn-process:hover {
    background: rgba(33, 150, 243, 0.3);
    transform: translateY(-2px);
}

.btn-complete {
    background: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.5);
}

.btn-complete:hover {
    background: rgba(76, 175, 80, 0.3);
    transform: translateY(-2px);
}

.completed-badge {
    padding: 0.75rem 1.5rem;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    border-radius: 8px;
    color: #4caf50;
    font-weight: 600;
}

@media (max-width: 768px) {
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .purchase-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .purchase-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
    }
}
