/* Main Styles for Community Dashboard */

/* Global Styles */
body {
    font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

.container {
    max-width: 1200px;
}

/* Header & Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-light .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #007bff;
}

.navbar-light .navbar-nav .active > .nav-link {
    color: #007bff;
}

/* Auth Pages */
.auth-container {
    max-width: 450px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-title {
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-control {
    height: 45px;
    border-radius: 4px;
}

.auth-form .btn {
    height: 45px;
    font-weight: 600;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
}

/* Dashboard */
.dashboard-stats {
    margin-bottom: 30px;
}

.stat-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #007bff;
}

.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-card .stat-label {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Event Cards */
.event-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.event-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

.event-card .card-body {
    padding: 20px;
}

.event-card .card-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.event-card .event-date {
    color: #007bff;
    font-weight: 500;
    margin-bottom: 10px;
}

.event-card .event-location {
    color: #6c757d;
    margin-bottom: 15px;
}

.event-card .btn {
    border-radius: 4px;
    padding: 8px 15px;
    font-weight: 500;
}

/* Event Details */
.event-header {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.event-header .event-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.event-header .event-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.event-header .event-meta-item {
    margin-right: 20px;
    margin-bottom: 10px;
    color: #6c757d;
}

.event-header .event-meta-item i {
    margin-right: 5px;
    color: #007bff;
}

.event-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.event-tabs {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.event-tabs .nav-tabs {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.event-tabs .nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 500;
    padding: 10px 15px;
}

.event-tabs .nav-tabs .nav-link.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

.agenda-item {
    padding: 20px;
    border-left: 3px solid #007bff;
    background-color: #f8f9fa;
    margin-bottom: 20px;
    border-radius: 4px;
}

.agenda-item .agenda-time {
    color: #007bff;
    font-weight: 500;
    margin-bottom: 10px;
}

.agenda-item .agenda-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.agenda-item .agenda-speaker {
    color: #6c757d;
    margin-bottom: 10px;
}

/* Discussion */
.discussion-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.discussion-card .discussion-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.discussion-card .discussion-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.discussion-card .discussion-meta {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.discussion-card .discussion-content {
    margin-bottom: 15px;
}

.discussion-card .discussion-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6c757d;
    font-size: 0.9rem;
}

.comment-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.comment-card .comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-card .comment-user {
    font-weight: 500;
}

.comment-card .comment-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.comment-card .comment-content {
    margin-bottom: 10px;
}

.comment-form {
    margin-top: 30px;
}

/* Pricing */
.pricing-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid #007bff;
    position: relative;
}

.pricing-card.featured::before {
    content: "সেরা মূল্য";
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: #007bff;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.pricing-card .pricing-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.pricing-card .pricing-price {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #007bff;
}

.pricing-card .pricing-duration {
    color: #6c757d;
    margin-bottom: 20px;
}

.pricing-card .pricing-features {
    margin-bottom: 30px;
    text-align: left;
}

.pricing-card .pricing-features ul {
    list-style: none;
    padding-left: 0;
}

.pricing-card .pricing-features li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.pricing-card .pricing-features li::before {
    content: "✓";
    color: #007bff;
    position: absolute;
    left: 0;
}

.pricing-card .btn {
    width: 100%;
    padding: 10px;
    font-weight: 500;
}

/* Tickets */
.ticket-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #007bff;
}

.ticket-card .ticket-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.ticket-card .ticket-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 15px;
}

.ticket-card .ticket-description {
    margin-bottom: 15px;
}

.ticket-card .ticket-benefits {
    margin-bottom: 20px;
}

.ticket-card .ticket-benefits ul {
    list-style: none;
    padding-left: 0;
}

.ticket-card .ticket-benefits li {
    padding: 3px 0;
    position: relative;
    padding-left: 20px;
}

.ticket-card .ticket-benefits li::before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
}

/* Notifications */
.notification-dropdown {
    min-width: 300px;
    padding: 0;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #dee2e6;
}

.notification-header h6 {
    margin-bottom: 0;
    font-weight: 600;
}

.notification-item {
    padding: 10px 15px;
    border-bottom: 1px solid #f1f1f1;
    transition: background-color 0.3s ease;
}

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

.notification-item.unread {
    background-color: #e6f3ff;
}

.notification-item .notification-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.notification-item .notification-text {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.notification-item .notification-time {
    color: #adb5bd;
    font-size: 0.8rem;
}

.notification-footer {
    text-align: center;
    padding: 10px;
    border-top: 1px solid #dee2e6;
}

/* Footer */
.footer {
    background-color: #343a40;
    color: #fff;
    padding: 40px 0;
    margin-top: 50px;
}

.footer h5 {
    font-weight: bold;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding-left: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #fff;
}

.footer-bottom {
    background-color: #212529;
    color: #adb5bd;
    padding: 15px 0;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .auth-container {
        margin: 20px;
    }
    
    .event-header {
        padding: 20px;
    }
    
    .event-header .event-title {
        font-size: 1.5rem;
    }
    
    .event-tabs {
        padding: 15px;
    }
    
    .event-tabs .nav-tabs .nav-link {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    .pricing-card {
        padding: 20px;
    }
    
    .pricing-card .pricing-price {
        font-size: 2rem;
    }
}

/* Admin Dashboard */
.admin-sidebar {
    background-color: #343a40;
    color: #fff;
    min-height: calc(100vh - 56px);
    padding-top: 20px;
}

.admin-sidebar .nav-link {
    color: #adb5bd;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 5px;
}

.admin-sidebar .nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.admin-sidebar .nav-link.active {
    color: #fff;
    background-color: #007bff;
}

.admin-sidebar .nav-link i {
    margin-right: 10px;
}

.admin-content {
    padding: 20px;
}

.admin-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.admin-card .card-title {
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.table-responsive {
    margin-bottom: 0;
}

.action-buttons .btn {
    padding: 4px 8px;
    font-size: 0.8rem;
}

/* Custom Utilities */
.bg-light-blue {
    background-color: #e6f3ff;
}

.text-primary {
    color: #007bff !important;
}

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

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
}

.rounded-lg {
    border-radius: 8px !important;
}

.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.shadow-md {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1) !important;
}

.transition {
    transition: all 0.3s ease !important;
}

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

.cursor-pointer {
    cursor: pointer;
}
