.setting-amozesh {
    max-width: 750px;
    margin: 50px auto;
    margin-top: 90px;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.amozesh-title {
    height: 37px;
    font-size: 25px;
    font-weight: bold;
    color: #02195a;
}
.amozesh-p {
    text-align: center;
    color: #4b5563;
    font-size: 18px;
    padding: 1px 10px;
}

/* section2 */

.setting-amozesh2 {
    flex-wrap: wrap;
    margin: 10px auto;
    display: flex;
    gap: 20px;
    max-width: 1200px;
    justify-content: center;
    transition: 1s;
}

.card-amozesh {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    width: 338px !important;
    height: 426px;
    background: linear-gradient(
        rgba(255, 255, 255, 0.7),
        rgba(255, 255, 255, 0.7)
    );
    border-radius: 25px;
    gap: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
}

.cirkle-amozesh {
    width: 56px;
    height: 56px;
    background-color: #31c5f5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.card-p {
    font-size: 18px;
    color: #4b5563;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
.card-buttun {
    font-size: 18px;
    color: #ffffff;
    text-align: center;
    background-color: rgba(21, 0, 73, 0.6);
    backdrop-filter: blur(19px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    padding: 10px 55px;
    border-radius: 25px;
    transition: transform 0.3s ease;
    animation: fadeIn 0.8s ease-out;
    cursor: pointer;
}
.card-buttun:hover {
    transform: translateY(-3px);
    box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.22);
}
.card-amozesh > button {
    border: none;
    background-color: white;
}

/* section3 */

.setting-amozesh3 {
    width: 90%;
    margin: 20px auto;
}
.section3-title {
    margin: 20px auto;
    width: fit-content;
    text-wrap: nowrap;
    /* border: 1px solid red; */
    font-size: 30px;
    color: red;
}
.set1-amozesh {
    width: 78%;
    border-radius: 20px;
    margin: 2px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 13px;
    background-color: rgba(20, 166, 27, 0.6);
    padding: 20px;
}

.set1-amozesh > div {
    width: 304px;
    height: 50px;
    border: 1px solid #31c5f5;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #02195a;
    font-size: 18px;
    border-radius: 6px;
}
.active1 {
    background-color: #31c5f5 !important;
    color: white !important;
    border: 2px solid white !important;
}
.set2-amozesh {
    width: 80%;
    margin: 30px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 10px;
}
.set2-amozesh > div > input {
    width: 100%;
    padding: 16px 50px 16px 20px;
    font-size: 16px;
    color: #999;
    border: 2px solid #aae7fa;
    border-radius: 6px;
    background-color: #fff;
    outline: none;
    box-shadow: 0 4px 12px rgba(170, 231, 250, 0.2);
    transition: all 0.3s ease;
    text-align: right;
    position: relative;
    z-index: 1;
    padding-left: 50px; /* فاصله برای آیکون */
}

.search-icon {
    transform: translateY(-50%);
    width: 26px; /* اندازه تصویر */
    height: 26px;
    pointer-events: none;
    opacity: 0.65; /* کمی شفاف مثل عکس */
    position: absolute;
    right: 18px;
    top: 50%;
    pointer-events: none;
    z-index: 2; /* آیکون بالای اینپوت */
}
.search-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.set2-amozesh > div {
    width: 230px;
    height: 50px;
    border: 1px solid #31c5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    border-radius: 6px;
}
.search-l {
    background-color: #31c5f5;
    color: white;
}
.search-b {
    color: #a0a1aa;
}

/* table dore  */

table {
    width: 80%;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border: 1px solid #a0a1aa;
    border-radius: 15px;
    margin: 2px auto;
}

thead {
    color: #02195a;
    border-bottom: 1px solid #a0a1aa;
}

thead th {
    padding: 15px 10px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
}

tbody tr {
    border-bottom: 1px solid #ddd;
}

tbody tr:nth-child(even) {
    background-color: #ffffff;
}

tbody tr:nth-child(odd) {
    background-color: rgba(170, 231, 250, 0.7);
}

td {
    padding: 15px 10px;
    text-align: center;
    vertical-align: middle;
    font-size: 0.95em;
}

/* ستون عملیات */
td:nth-child(1) {
    color: #000000;
    width: 18%;
    width: 52%;
    font-size: 19px;
}

/* ستون مدت زمان دوره */
td:nth-child(2) {
    width: 30%;
    line-height: 1.6;
}

/* ستون نام دوره */
td:nth-child(3) {
    text-align: right;
    padding-right: 20px;
    line-height: 1.7;
    transition: 0.5s;
}
td:nth-child(3) > a {
    padding: 10px;
    background-color: #ca0000;
    text-decoration: none;
    color: white;
    border-radius: 10px;
}
td:nth-child(3):hover {
    transform: translateX(-3px);
}

/* خط جداکننده در ستون دوم */
.duration br {
    margin-bottom: 5px;
}

/* افکت هاور */
tbody tr:hover {
    background-color: #fff3e0 !important;
    transition: background-color 0.3s ease;
}

/* استایل متن داخل ستون نام دوره */
.course-name {
    display: block;
    margin-bottom: 8px;
}

.course-name:last-child {
    margin-bottom: 0;
}

/* --- ریسپانسیو برای تبلت --- */
@media (max-width: 992px) {
    table {
        width: 95%;
        font-size: 0.9em;
    }

    td,
    th {
        padding: 10px;
    }

    td:nth-child(1),
    td:nth-child(2),
    td:nth-child(3) {
        font-size: 0.9em;
    }
}

/* --- ریسپانسیو برای موبایل (نمای کارت CARD) --- */
@media (max-width: 768px) {
    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead {
        display: none; /* حذف عنوان ستون‌ها در موبایل */
    }

    table {
        width: 95%;
        border: none;
        box-shadow: none;
    }

    tbody tr {
        margin-bottom: 15px;

        border-radius: 12px;
        padding: 15px;
        border: 1px solid #d9d9d9;
    }

    td {
        display: flex;
        justify-content: space-between;

        padding: 10px 5px;
        border: none !important;
        margin: 1px auto;
        font-size: 0.95em;
    }

    /* عنوان ستون‌ها */
    td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #02195a;
        margin-left: 10px;
        font-size: 0.9em;
    }

    /* دکمه عملیات */
    td:nth-child(3) {
        justify-content: center;
        margin-top: 10px;
    }

    td:nth-child(3) a {
        display: inline-block;
        padding: 12px 18px;
        font-size: 0.95em;
        border-radius: 12px;
    }
}

@media (max-width: 600px) {
}
