/* 
* Wamperl Pass - Admin CSS
* Styling für den Admin-Bereich
*/

:root {
    --primary: #c71212;
    --primary-dark: #9e0e0e;
    --secondary: #343a40;
    --light: #f8f9fa;
    --dark: #121212;
    --accent: #ffc107;
}

body {
    font-family: 'Lora', serif;
    background-color: #f5f5f5;
}

.admin-body {
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.8) 75%, #121212 100%), url('../../img/downloads-bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Login Page */
.login-container {
    background-color: white;
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.login-logo {
    height: 100px;
}

/* Dashboard */
.admin-navbar {
    background-color: var(--dark);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.admin-navbar .navbar-brand {
    display: flex;
    align-items: center;
}

.admin-navbar .navbar-logo {
    height: 40px;
    margin-right: 10px;
}

.admin-sidebar {
    position: fixed;
    top: 56px;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    background-color: #f8f9fa;
    overflow-y: auto;
}

.admin-sidebar .nav-link {
    font-weight: 500;
    color: #333;
    padding: 0.75rem 1.25rem;
}

.admin-sidebar .nav-link.active {
    color: var(--primary);
}

.admin-sidebar .nav-link:hover {
    color: var(--primary-dark);
}

.admin-sidebar .nav-link i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.admin-content {
    margin-left: 225px;
    padding: 2rem;
}

.admin-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}

.admin-card .card-header {
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    font-weight: 600;
}

/* Team Management */
.team-member-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.team-member-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.team-member-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary);
}

.team-member-actions {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Event Management */
.event-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.event-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.event-date {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem;
    text-align: center;
    border-radius: 5px;
    width: 60px;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Gallery Management */
.gallery-item-admin {
    position: relative;
    margin-bottom: 1.5rem;
}

.gallery-item-admin img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.gallery-item-admin:hover img {
    opacity: 0.8;
}

.gallery-item-actions {
    position: absolute;
    top: 10px;
    right: 10px;
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 5px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: var(--primary);
}

.upload-area i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-sidebar {
        position: static;
        height: auto;
        padding-top: 0;
    }
    
    .admin-content {
        margin-left: 0;
        padding: 1rem;
    }
}
