/* Custom Theme Styles */

/* Hero sections */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    padding: 2rem 0;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: white;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.8);
}

/* Cards */
.card {
    border-radius: 1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.card-header {
    border-radius: 1rem 1rem 0 0 !important;
    padding: 1.25rem 1.5rem;
    border-bottom: none;
}

/* List groups */
.list-group-item {
    transition: all 0.2s ease;
    padding: 1rem 1.5rem;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

.list-group-item:last-child {
    border-bottom: none;
}

/* Forms */
.form-control, .form-select {
    border-radius: 50rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border: none;
    background-color: #f8f9fa;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.input-group .form-control {
    border-radius: 0 50rem 50rem 0 !important;
}

.input-group-text {
    border-radius: 50rem 0 0 50rem !important;
    border: none;
    background-color: #f8f9fa;
}

/* Buttons */
.btn {
    border-radius: 50rem;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.5em 1em;
    border-radius: 50rem;
}

/* Tables */
.table {
    border-radius: 1rem;
    overflow: hidden;
}

.table th {
    background-color: #f8f9fa;
    border-bottom: none;
    padding: 1rem 1.5rem;
}

.table td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
}

/* Images */
.img-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.img-cover {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* Status indicators */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
}

.status-dot.active {
    background-color: #198754;
}

.status-dot.inactive {
    background-color: #dc3545;
}

/* Search container */
.search-container {
    max-width: 700px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.search-container:focus-within {
    transform: scale(1.02);
}

/* Utilities */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
}

.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .card-header {
        padding: 1rem;
    }
    
    .list-group-item {
        padding: 0.75rem 1rem;
    }
    
    .table td, .table th {
        padding: 0.75rem 1rem;
    }
}

/* Dropdowns */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 1rem;
    padding: 0.5rem;
    min-width: 200px;
}

.dropdown-item {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.dropdown-item.active {
    background-color: #e9ecef;
    color: #0d6efd;
}

.dropdown-item i {
    width: 1.25rem;
    text-align: center;
}

.dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.1;
}

.nav-item.dropdown .dropdown-toggle.active {
    background-color: #e9ecef;
    color: #0d6efd !important;
} 