/* Turkish Curriculum Subscription Styles */
.sections-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Subscription Options Grid */
.subscription-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.subscription-option {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subscription-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.subscription-option .shead {
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #6c3c8c 0%, #4b2561 100%);
    color: white;
}

.subscription-option.offline .shead {
    background: linear-gradient(135deg, #4a90e2 0%, #2c5282 100%);
}

.subscription-option .shead img {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.subscription-option .shead h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.subscription-option .sbody {
    padding: 1.5rem;
}

.subscription-option .item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #4a5568;
}

.subscription-option .item i {
    margin-right: 0.75rem;
    font-size: 0.75rem;
}

.subscription-option .item .fa-check {
    color: #48bb78;
}

.subscription-option .item .fa-times {
    color: #e53e3e;
}

.subscription-option .sfooter {
    padding: 1.5rem;
    text-align: center;
    background-color: #f8f9fa;
    border-top: 1px solid #e2e8f0;
}

.subscription-option .sfooter .old-price {
    text-decoration: line-through;
    color: #a0aec0;
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

.subscription-option .sfooter p {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4b2561;
    margin: 0.5rem 0 1rem;
}

.subscription-option .btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.subscription-option .btn-green {
    background-color: #48bb78;
    color: white;
}

.subscription-option .btn-green:hover {
    background-color: #38a169;
}

.subscription-option .btn-purple {
    background-color: #6c3c8c;
    color: white;
    margin-top: 0.75rem;
}

.subscription-option .btn-purple:hover {
    background-color: #4b2561;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .subscription-options {
        grid-template-columns: 1fr;
    }

    .subscription-option {
        max-width: 100%;
    }

    .subsc-details-filter-sec {
        padding: 1.25rem;
    }

    .levels .item {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* Filter Section */
.subsc-details-filter-sec {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.filter-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
}

.filter-actions .btn {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

.filter-content {
    padding: 1.5rem;
}

.filter-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95rem;
}

.levels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.level-item {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #4a5568;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
}

.level-item:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.level-item.active {
    background: #6c3c8c;
    color: white;
    border-color: #5a2e77;
}

.level-item .level-text {
    pointer-events: none;
}

.level-item .fa-check {
    font-size: 0.75rem;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-arrow {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    pointer-events: none;
}

.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #fff;
    color: #4a5568;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    background-image: none;
}

.form-select:focus {
    border-color: #9f7aea;
    box-shadow: 0 0 0 3px rgba(159, 122, 234, 0.2);
    outline: none;
}

.form-select:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .filter-actions {
        width: 100%;
    }

    .filter-actions .btn {
        width: 100%;
    }

    .levels {
        gap: 0.5rem;
    }

    .level-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

.levels-wrapper {
    margin-bottom: 1.5rem;
}

.levels-wrapper label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #4b2561;
    font-size: 0.95rem;
}

.levels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.levels .item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #4a5568;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.levels .item:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.levels .item.active {
    background: #6c3c8c;
    color: white;
    border-color: #5a2e77;
    font-weight: 500;
}

.grade-selection {
    margin-top: 1.5rem;
}

.classes-wrapper label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #4b2561;
    font-size: 0.95rem;
}

.custom-select {
    width: 100%;
    padding: 0.625rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #fff;
    color: #4a5568;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25em 1.25em;
}

.custom-select:focus {
    outline: none;
    border-color: #9f7aea;
    box-shadow: 0 0 0 3px rgba(159, 122, 234, 0.2);
}

.levels .item:hover,
.levels .item.active {
    background-color: #6c3c8c;
    color: white;
    border-color: #6c3c8c;
}

/* Features Section */
.subsc-details-features-section {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.shead h4 {
    color: #4b2561;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.features-list-sec-wrapper {
    margin-bottom: 2rem;
}

.features-list-sec {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
}

.serv-col {
    width: 100%;
}

.sbody {
    padding: 1.5rem;
}

.item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #4a5568;
    font-size: 1rem;
}

.item i {
    color: #6c3c8c;
    font-size: 0.5rem;
    margin-right: 0.75rem;
}

.sfooter {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-top: 1px solid #e2e8f0;
}

.sfooter p {
    margin: 0;
    color: #4a5568;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .subsc-details-filter-sec,
    .subsc-details-features-section {
        padding: 1.5rem;
    }

    .levels {
        justify-content: flex-start;
    }

    .sbody {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .subsc-details-filter-sec,
    .subsc-details-features-section {
        padding: 1rem;
    }

    .shead h4 {
        font-size: 1.25rem;
    }

    .item {
        font-size: 0.9375rem;
    }
}
