// assets/css/style.css
// Main stylesheet for the application

/* Global Styles */
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    padding-top: 56px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Header Styles */
.navbar-brand {
    font-weight: 700;
}

/* Sidebar Styles */
.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);
    background-color: #f8f9fa;
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
    padding: 0.75rem 1.25rem;
}

.sidebar .nav-link:hover {
    color: #0d6efd;
}

.sidebar .nav-link.active {
    color: #0d6efd;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
}

/* Main Content */
.main-content {
    margin-left: 240px;
    padding: 2rem;
}

@media (max-width: 767.98px) {
    .main-content {
        margin-left: 0;
    }
    
    .sidebar {
        position: static;
        height: auto;
        padding-bottom: 0;
        box-shadow: none;
    }
}

/* Card Styles */
.card {
    margin-bottom: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    padding: 0.75rem 1.25rem;
}

/* Dashboard Widgets */
.dashboard-card {
    border-radius: 0.5rem;
    transition: transform 0.2s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dashboard-card .card-body {
    padding: 1.5rem;
}

.dashboard-card .card-title {
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.dashboard-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Profile Styles */
.profile-header {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.profile-details {
    margin-top: 1.5rem;
}

.profile-details h2 {
    margin-bottom: 0.5rem;
}

.profile-details p {
    color: #6c757d;
    margin-bottom: 0.25rem;
}

/* Department & Team Cards */
.department-card, .team-card {
    transition: transform 0.2s;
}

.department-card:hover, .team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.department-card .card-body, .team-card .card-body {
    padding: 1.5rem;
}

/* User Cards */
.user-card {
    border-radius: 0.5rem;
    transition: transform 0.2s;
    margin-bottom: 1.5rem;
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* Notification Styles */
.notification-dropdown {
    min-width: 300px;
    max-width: 300px;
    padding: 0;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s;
}

.notification-item:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.notification-item.unread {
    background-color: rgba(0, 123, 255, 0.1);
}

.notification-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.notification-time {
    font-size: 0.75rem;
    color: #6c757d;
}

.notification-footer {
    display: flex;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1060;
}

/* Form Styles */
.form-label {
    font-weight: 500;
}

.form-text {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Table Styles */
.table-responsive {
    margin-bottom: 1rem;
}

.table th {
    font-weight: 600;
    background-color: #f8f9fa;
}

/* Footer Styles */
footer {
    background-color: #f8f9fa;
    padding: 1.5rem 0;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Plugin specific styles */
.plugin-card {
    transition: transform 0.2s;
}

.plugin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.plugin-status {
    position: absolute;
    top: 10px;
    right: 10px;
}

.plugin-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.py-6a {
    padding-top: 5rem !important;
    padding-bottom: 3rem !important;
}

.my-4,.my-5,.px-4 {
    margin-top: 5rem !important;
}