/* Admin Page Header */
.admin-page-header {
    background: linear-gradient(to bottom, #111, #050505);
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-bottom: 2px solid #222;
}

.admin-page-header h2 {
    margin: 0;
    color: #fff;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

/* Page-specific styles for the Admin Panel */
.admin-wrapper {
    background-color: #111;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    margin-bottom: 2rem;
}

.admin-wrapper h2 {
    margin-top: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

.pricing-card {
    background-color: #050505;
    padding: 1.5rem;
    border: 1px solid #444;
    border-radius: 8px;
}

.pricing-card h3 {
    color: #00ffff;
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 1px dashed #333;
    padding-bottom: 5px;
}

.admin-form .form-group { margin-bottom: 1rem; }

.admin-form label {
    display: block;
    margin-bottom: 5px;
    color: #ccc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-form input[type="number"],
.admin-form input[type="text"],
.admin-form input[type="password"],
.admin-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.admin-form textarea { resize: vertical; min-height: 80px; }

.admin-form input:focus,
.admin-form textarea:focus { border-color: #ff007f; outline: none; }

/* Admin Tables */
.admin-table-wrapper { overflow-x: auto; }

.admin-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; color: #ddd; min-width: 800px; }
.admin-table th, .admin-table td { padding: 12px; border: 1px solid #333; text-align: left; }
.admin-table th { background: #1a1a1a; color: #00ffff; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }
.admin-table tr:nth-child(even) { background: #0d0d0d; }

.danger-btn { background: #cc0000; color: #fff; border: none; padding: 8px 12px; cursor: pointer; border-radius: 4px; font-weight: bold; transition: background 0.3s; }
.danger-btn:hover { background: #ff0000; }

.success-message { background-color: rgba(0, 255, 0, 0.1); border: 1px solid #00ff00; color: #00ff00; padding: 15px; border-radius: 4px; font-weight: bold; }
.error-message { background-color: rgba(255, 0, 0, 0.1); border: 1px solid #ff0000; color: #ff0000; padding: 15px; border-radius: 4px; font-weight: bold; }

/* View Toggle Buttons */
.view-toggle-group {
    display: flex;
    background: #111;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
}

.view-toggle-btn {
    background: transparent;
    color: #ddd;
    border: none;
    border-right: 1px solid #333;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-toggle-btn:last-child {
    border-right: none;
}

.view-toggle-btn:hover {
    background: #1a1a1a;
    color: #00ffff;
}

.view-toggle-btn.active {
    background: #00ffff;
    color: #000;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: #aaa;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider { background-color: #00ffff; }
input:checked + .slider:before { transform: translateX(26px); background-color: #000; }