﻿
.play-btn {
    width: 80px;
    height: 80px;
    background-color: #07A698;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible; /* çölə çıxan animasiya üçün */
}

    .play-btn i {
        color: white;
        font-size: 2rem;
        z-index: 2;
        position: relative;
    }

.ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* mərkəzləşdirir */
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: ripple 1.5s infinite;
    z-index: 1;
}

@@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.price-box {
    gap: 10px;
    border-radius: 10px;
    font-family: "Segoe UI", sans-serif;
}

.discount-badge {
    background: linear-gradient(to right, #dc3545, #c82333);
    color: #fff;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
}

.new-price {
    color: #07A698;
    font-weight: 600;
    font-size: 22px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 17px;
}

.course-details-tab .nav-tabs .nav-item {
    width: 50%;
}

.tab-overview {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
}

.content-text {
    white-space: pre-line;
}

.fa-clipboard-check:before {
    content: "\f46c";
}


.user-list {
    max-height: 150px;
    overflow-y: auto;
    padding: 10px;
}

.course-management-container {
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Segoe UI', sans-serif;
}

.selection-section {
    margin-bottom: 20px;
}

    .selection-section label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: #495057;
    }

.error-message {
    margin-top: 15px;
    padding: 10px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    text-align: center;
}

.hidden {
    display: none;
}

/* Əvvəlcədən seçilmiş seçimlər üçün vurğulama */
.ts-dropdown .option.is-pre-selected,
.ts-dropdown .item.is-pre-selected {
    color: #155724;
    background-color: #d4edda;
    border-left: 3px solid #c3e6cb;
    font-weight: 500;
}

#object-select-ts-control::placeholder {
    color: #888;
    opacity: 1;
}

#employee-select-ts-control::placeholder {
    color: #888; /* açıq boz rəng */
    opacity: 1;
}

/* confirm düyməsi disabled olanda */
#submit-manage-course:disabled {
    background-color: #ccc !important; /* açıq boz */
    border-color: #ccc !important;
    color: #666; /* yazı rəngi boz */
    cursor: not-allowed;
    opacity: 1; /* tam görünən boz */
}

.course-details-tab {
    margin-top: 20px;
}

.document-message {
    margin-bottom: 20px;
}

.document-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
}

.document-btn {
    display: block !important;
    width: 100% !important;
    padding: 10px 15px !important;
    border: none !important;
    border-radius: 6px !important;
    background-color: #2596BE !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

.document-btn:hover {
    background-color: #1f7fa3 !important;
}

.nice-select.swal2-select {
    display: none;
}