/**
 * DFWnow! Admin Dashboard Styles
 */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f8f9fa;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 56px;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    overflow-y: auto;
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
    padding: 0.75rem 1rem;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.sidebar .nav-link:hover {
    background-color: #f8f9fa;
    color: #FF6B35;
}

.sidebar .nav-link.active {
    color: #FF6B35;
    background-color: #fff3ef;
    border-left-color: #FF6B35;
}

.sidebar .nav-link i {
    width: 20px;
}

/* Main Content */
main {
    margin-top: 56px;
    padding-top: 20px;
}

/* Neighborhood Cards */
.neighborhood-card-admin {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.neighborhood-card-admin:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #FF6B35;
}

.content-section {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

/* Log Container */
.log-container {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.log-container p {
    margin-bottom: 0.5rem;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #FF6B35;
    border-color: #FF6B35;
}

.btn-primary:hover {
    background-color: #e55a2b;
    border-color: #e55a2b;
}

.btn-success {
    background-color: #06D6A0;
    border-color: #06D6A0;
}

.btn-success:hover {
    background-color: #05c090;
    border-color: #05c090;
}

/* Article Cards */
.card-img-top {
    border-radius: 4px 4px 0 0;
}

.card-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        position: static;
        height: auto;
    }
    
    main {
        margin-top: 0;
    }
}

/* Loading Spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

