/* Admin Layout */
.admin-body {
    background: #f4f6f9;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
    width: 250px;
    background: #343a40;
    color: #fff;
    padding: 1rem;
}

.sidebar-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1rem;
}

.sidebar-header h3 {
    margin: 0;
    color: #e50914;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu a {
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1rem;
    display: block;
    transition: all 0.3s;
    border-radius: 4px;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(229, 9, 20, 0.2);
    color: #e50914;
}

.sidebar-menu i {
    width: 20px;
    margin-right: 10px;
}

/* Main Content */
.admin-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.admin-header {
    background: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-search input {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 300px;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-main {
    padding: 2rem;
    flex: 1;
}

/* Dashboard Cards */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card i {
    font-size: 2rem;
    color: #e50914;
}

.stat-content h3 {
    font-size: 1.8rem;
    margin: 0;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

.status-pending {
    background: #ffeeba;
    color: #856404;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Buttons */
.btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.btn-primary {
    background: #e50914;
    color: #fff;
}

.btn-primary:hover {
    background: #b2070f;
}

.btn-logout {
    color: #e50914;
}

.btn-logout:hover {
    color: #b2070f;
}

.file-type-row {
    position: relative;
    transition: all 0.3s ease;
}

.file-type-input {
    flex: 1;
}

.common-file-types {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.common-file-types button {
    transition: all 0.2s ease;
}

.common-file-types button:hover {
    background-color: var(--bs-primary);
    color: white;
    border-color: var(--bs-primary);
} 