.btn-nav {
    background-color: #fff;
}
.btn-nav:hover,
.btn-nav:active,.btn-nav:focus {
    background-color: #0f61f0;
    color: #fff;
}
.btn-main:hover,
.btn-main:active {
    opacity: 0.85;
    color: #fff;
}
.text-main {
    color: var(--primary-color);
}
a {
    text-decoration: none;
}
.talim-btn {
    text-align: left;
    background-color: rgb(252, 252, 252);
}
#map {
    min-height: 100vh;
    width: 100%;
}

@media (max-width: 576px) {
    #map {
        height: 70vh;
    }
}
.chart-container {
    position: relative;
    height: 300px;
    margin: 0 auto;
}
.legend {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}
.legend-item {
    display: flex;
    align-items: center;
    margin: 0 15px;
    padding: 5px;
}
.color-box {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 4px;
}
.summary {
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
}

.talim-date {
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid rgb(220, 220, 220);
}
.detail-btn {
    background-color: rgb(255, 81, 0);
    color: #fff;
}
.detail-btn:hover {
    background-color: rgb(254, 136, 82);
    color: #fff;
}
.notification-message{
    position: absolute;
    top: 16px;
    right: 16px;
    color: white;
}
.success-message{
    background-color: rgb(9, 226, 9);
}
.error-message{
    background-color: rgb(226, 9, 9);
}

/* Professional Training Card Styles */
.training-card {
    background: #fff;
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.training-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: #0f61f0;
}

.training-card .card-header {
    padding: 12px 16px;
}

.training-card .card-body {
    padding: 16px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #6c757d;
    padding: 4px 0;
}

.info-item i {
    font-size: 0.85rem;
    width: 16px;
    color: #0f61f0;
}

.seats-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 3px solid #0f61f0;
}

.seats-info .text-muted {
    font-size: 0.75rem;
}

.seats-info .fw-bold {
    font-size: 0.9rem;
    color: #0f61f0;
}

.progress-bar.bg-gradient {
    background: linear-gradient(90deg, #0f61f0 0%, #4facfe 100%);
    border-radius: 3px;
}

.badge.rounded-pill {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 6px 12px;
}

.training-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.training-card h5 i {
    color: #0f61f0;
}

/* Full width sections */
.announcement-ticker {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.hero-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* Success Story Cards */
.success-story-card {
    background: #fff;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.success-story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #0f61f0;
}

.success-story-card img {
    border: 3px solid #0f61f0;
    padding: 2px;
}

.success-story-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
}

/* Compact Training Cards */
.compact-training-card {
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.compact-training-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.compact-training-card h6 {
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Modern Training Card Styles */
.modern-training-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 96, 240, 0.1);
    position: relative;
    overflow: hidden;
}

.modern-training-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 96, 240, 0.2);
    border-color: rgba(0, 96, 240, 0.3);
}

.modern-training-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0f61f0, #0a4bb5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-training-card:hover::before {
    opacity: 1;
}

/* Progress Bar Styles */
.modern-training-card .progress {
    background-color: #e9ecef;
    overflow: visible;
}

.modern-training-card .progress-bar {
    transition: width 0.6s ease;
    position: relative;
    border-radius: 4px;
}

/* Button Styles */
.modern-training-card .btn-outline-primary:hover {
    background-color: #0f61f0;
    border-color: #0f61f0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 96, 240, 0.3);
}

.modern-training-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 96, 240, 0.4);
}

/* Badge Animation */
.modern-training-card .badge {
    transition: transform 0.2s ease;
}

.modern-training-card:hover .badge {
    transform: scale(1.05);
}

/* Responsive Grid */
@media (max-width: 991px) {
    .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}