:root {
    --orange: #f97316;
    --orange-dark: #c2410c;
    --orange-light: #fff4e8;
    --dark: #111827;
    --dark-soft: #1f2937;
    --gray-bg: #f4f6f8;
    --border: #e5e7eb;
    --text: #1f2937;
    --muted: #6b7280;
    --white: #ffffff;
}

html {
    font-size: 15px;
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--gray-bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

/* ÜST MENÜ */
.site-header {
    background: linear-gradient(90deg, var(--orange-dark), var(--orange));
    box-shadow: 0 5px 25px rgba(17, 24, 39, 0.18);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff !important;
    text-decoration: none;
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #ffffff;
    color: var(--orange-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 22px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

    .brand-text strong {
        font-size: 20px;
        color: #ffffff;
    }

    .brand-text small {
        color: #fff7ed;
        font-size: 12px;
    }

.main-tabs {
    gap: 6px;
    margin-left: 28px;
}

    .main-tabs .nav-link {
        color: #ffffff !important;
        font-weight: 700;
        font-size: 14px;
        padding: 8px 14px !important;
        border-radius: 999px;
    }

        .main-tabs .nav-link:hover {
            background: rgba(255, 255, 255, 0.18);
        }

.login-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
}

/* GENEL */
.site-main {
    min-height: calc(100vh - 170px);
    padding: 30px 0;
}

h1, h2, h3, h4, h5 {
    color: var(--dark);
    font-weight: 800;
}

p {
    color: var(--muted);
}

.btn {
    border-radius: 12px;
    font-weight: 700;
}

.btn-primary {
    background: var(--orange);
    border-color: var(--orange);
}

    .btn-primary:hover {
        background: var(--orange-dark);
        border-color: var(--orange-dark);
    }

.btn-outline-primary {
    color: var(--orange);
    border-color: var(--orange);
}

    .btn-outline-primary:hover {
        background: var(--orange);
        border-color: var(--orange);
    }

/* ANA SAYFA */
.hero-section {
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.35), transparent 35%), linear-gradient(135deg, #111827, #1f2937);
    border-radius: 30px;
    padding: 70px 60px;
    box-shadow: 0 20px 55px rgba(17, 24, 39, 0.20);
}

.hero-content {
    max-width: 1000px;
}

.hero-label {
    display: inline-block;
    background: rgba(249, 115, 22, 0.18);
    border: 1px solid rgba(249, 115, 22, 0.45);
    color: #fed7aa;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 900;
    margin-bottom: 18px;
}

.hero-section h1 {
    color: #ffffff;
    font-size: 46px;
    line-height: 1.12;
    margin-bottom: 18px;
}

.hero-section p {
    color: #e5e7eb;
    font-size: 18px;
    max-width: 820px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.section-block {
    margin-top: 42px;
}

.section-title {
    margin-bottom: 18px;
}

    .section-title p {
        max-width: 760px;
    }

.service-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.07);
    transition: 0.2s ease;
}

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
    }

.service-letter {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--orange);
    color: #ffffff;
    font-weight: 900;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0 0;
}

.service-card li {
    padding: 8px 0;
    border-top: 1px solid var(--border);
    font-weight: 700;
}

    .service-card li::before {
        content: "✓";
        color: var(--orange);
        font-weight: 900;
        margin-right: 8px;
    }

.info-box {
    margin-top: 42px;
    background: linear-gradient(135deg, var(--orange-light), #ffffff);
    border: 1px solid #fed7aa;
    border-radius: 24px;
    padding: 32px;
}

    .info-box p {
        margin-bottom: 0;
    }

.step-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

    .step-card span {
        width: 44px;
        height: 44px;
        border-radius: 16px;
        background: var(--dark);
        color: #ffffff;
        font-weight: 900;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
    }

    .step-card h4 {
        font-size: 18px;
    }

.feature-strip {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

    .feature-strip div {
        background: #ffffff;
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 22px;
        text-align: center;
        font-weight: 900;
        box-shadow: 0 6px 18px rgba(17, 24, 39, 0.04);
    }

/* KART / TABLO / FORM */
.card {
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.card-header {
    background: var(--orange-light);
    font-weight: 800;
}

.table {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
}

    .table thead {
        background: var(--dark);
        color: #ffffff;
    }

.form-control,
.form-select {
    border-radius: 12px;
    border: 1px solid #d1d5db;
    padding: 10px 12px;
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--orange);
        box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.18);
    }

label {
    font-weight: 700;
    margin-bottom: 6px;
}

/* FOOTER */
.site-footer {
    background: var(--dark);
    color: #d1d5db;
    padding: 30px 0;
}

    .site-footer h5 {
        color: #ffffff;
        margin-bottom: 8px;
    }

    .site-footer p {
        color: #cbd5e1;
        margin: 0;
    }

.footer-links a {
    color: #f9fafb;
    text-decoration: none;
    margin-left: 16px;
    font-size: 14px;
    font-weight: 600;
}

    .footer-links a:hover {
        color: var(--orange);
    }

/* MOBİL */
@media (max-width: 992px) {
    .main-tabs {
        margin-left: 0;
        margin-top: 14px;
    }

    .login-area {
        margin-top: 14px;
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-section {
        padding: 38px 28px;
    }

        .hero-section h1 {
            font-size: 32px;
        }

    .feature-strip {
        grid-template-columns: 1fr 1fr;
    }

    .footer-links {
        margin-top: 18px;
        text-align: left !important;
    }

        .footer-links a {
            display: block;
            margin-left: 0;
            margin-top: 8px;
        }
}

@media (max-width: 576px) {
    .hero-section {
        border-radius: 20px;
        padding: 28px 22px;
    }

        .hero-section h1 {
            font-size: 27px;
        }

    .feature-strip {
        grid-template-columns: 1fr;
    }
}
/* ANA SAYFA ÖNE ÇIKAN HİZMETLER */
.home-service-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.07);
    transition: 0.2s ease;
}

    .home-service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 42px rgba(17, 24, 39, 0.13);
    }

.home-service-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.home-service-placeholder {
    height: 210px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
    font-weight: 900;
    letter-spacing: 4px;
}

.home-service-body {
    padding: 24px;
}

    .home-service-body h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .home-service-body p {
        min-height: 72px;
        color: var(--muted);
    }

.home-service-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}

    .home-service-meta div {
        background: var(--orange-light);
        border: 1px solid #fed7aa;
        border-radius: 16px;
        padding: 14px;
    }

    .home-service-meta span {
        display: block;
        color: var(--muted);
        font-size: 13px;
        margin-bottom: 4px;
    }

    .home-service-meta strong {
        color: var(--dark);
        font-size: 16px;
    }

@media (max-width: 576px) {
    .home-service-meta {
        grid-template-columns: 1fr;
    }
}
/* ÖDEME BAŞARI SAYFASI */
.success-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}

.success-card {
    width: 100%;
    max-width: 850px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 42px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
}

.success-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #16a34a;
    color: #ffffff;
    font-size: 42px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px auto;
}

.success-card h1 {
    font-size: 34px;
    margin-bottom: 12px;
}

.success-main-text {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 24px;
}

.success-info-box {
    background: var(--orange-light);
    border: 1px solid #fed7aa;
    border-radius: 20px;
    padding: 22px;
    text-align: left;
    margin-bottom: 26px;
}

    .success-info-box p {
        margin-bottom: 10px;
    }

        .success-info-box p:last-child {
            margin-bottom: 0;
        }

.success-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.success-step {
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
}

    .success-step span {
        width: 38px;
        height: 38px;
        border-radius: 14px;
        background: var(--dark);
        color: #ffffff;
        font-weight: 900;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 12px auto;
    }

    .success-step p {
        margin: 0;
        font-weight: 700;
        color: var(--text);
    }

.success-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .success-card {
        padding: 26px;
        border-radius: 22px;
    }

    .success-steps {
        grid-template-columns: 1fr;
    }

    .success-actions .btn {
        width: 100%;
    }
}
/* SAYFA BAŞLIK ALANI */
.page-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

    .page-title-bar h1 {
        margin-bottom: 6px;
    }

    .page-title-bar p {
        margin-bottom: 0;
    }

@media (max-width: 768px) {
    .page-title-bar {
        flex-direction: column;
        align-items: flex-start;
    }

        .page-title-bar .btn {
            width: 100%;
        }
}
/* ERİŞİM DURUM ALANI */
.access-status-box {
    background: var(--orange-light);
    border: 1px solid #fed7aa;
    border-radius: 18px;
    padding: 20px;
}

    .access-status-box .form-check-label {
        font-weight: 700;
    }

/* ERİŞİM SÜRESİ BİLGİSİ */
.access-duration-info {
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
}

    .access-duration-info strong {
        color: var(--dark);
    }

    .access-duration-info span {
        color: var(--muted);
    }
/* YASAL SAYFALAR */
.legal-page {
    max-width: 1050px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 38px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.07);
}

    .legal-page h1 {
        margin-bottom: 24px;
        padding-bottom: 18px;
        border-bottom: 3px solid var(--orange);
    }

    .legal-page h2 {
        font-size: 22px;
        margin-top: 30px;
        margin-bottom: 12px;
    }

    .legal-page h3 {
        font-size: 18px;
        margin-top: 20px;
    }

    .legal-page p,
    .legal-page li {
        color: #374151;
        line-height: 1.75;
    }

    .legal-page ul {
        padding-left: 22px;
    }

@media (max-width: 768px) {
    .legal-page {
        padding: 24px;
        border-radius: 18px;
    }

        .legal-page h1 {
            font-size: 28px;
        }
}
.payment-start-page {
    max-width: 1000px;
    margin: 0 auto;
}

.payment-summary-card,
.legal-card,
.agreement-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    padding: 24px;
}

    .summary-header h3,
    .legal-card h3 {
        margin-bottom: 18px;
        font-size: 22px;
        font-weight: 700;
        color: #0f172a;
    }

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.summary-item {
    background: #f8fafc;
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
}

.summary-label {
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 6px;
}

.summary-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.summary-description {
    margin-top: 18px;
    padding: 14px 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    color: #7c2d12;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

    .legal-links a {
        display: inline-block;
        padding: 10px 14px;
        border-radius: 12px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        text-decoration: none;
        color: #0f172a;
        font-weight: 600;
    }

        .legal-links a:hover {
            background: #fff7ed;
            border-color: #fdba74;
            color: #c2410c;
        }

.legal-note {
    background: #f9fafb;
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid #e5e7eb;
}

    .legal-note ul {
        margin: 0;
        padding-left: 18px;
    }

    .legal-note li {
        margin-bottom: 8px;
        color: #374151;
    }

.agreement-box {
    background: #fff7ed;
    border: 1px solid #fdba74;
}

    .agreement-box .form-check {
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }

    .agreement-box .form-check-input {
        margin-top: 4px;
        transform: scale(1.15);
    }

    .agreement-box .form-check-label {
        font-weight: 600;
        line-height: 1.6;
        color: #1f2937;
    }

@media (max-width: 768px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }
}
/* ÖDEME ADIMLARI */
.purchase-progress {
    display: flex;
    align-items: center;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 20px 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.purchase-progress-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
    color: #94a3b8;
}

    .purchase-progress-item strong {
        display: block;
        color: #64748b;
        font-size: 15px;
    }

    .purchase-progress-item small {
        display: block;
        color: #94a3b8;
        font-size: 12px;
        margin-top: 2px;
    }

.progress-number {
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.purchase-progress-item.active .progress-number {
    background: #f97316;
    color: #ffffff;
    box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.12);
}

.purchase-progress-item.active strong {
    color: #c2410c;
}

.purchase-progress-item.completed .progress-number {
    background: #16a34a;
    color: #ffffff;
}

.purchase-progress-item.completed strong {
    color: #166534;
}

.purchase-progress-line {
    height: 3px;
    flex: 1;
    min-width: 30px;
    background: #e5e7eb;
    border-radius: 999px;
    margin: 0 14px;
}

    .purchase-progress-line.completed {
        background: #16a34a;
    }

.payment-notice {
    border-radius: 16px;
    border-left: 5px solid #f59e0b;
}

@media (max-width: 900px) {
    .purchase-progress {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .purchase-progress-item {
        min-width: 0;
    }

    .purchase-progress-line {
        width: 3px;
        height: 24px;
        min-width: 3px;
        margin: 0 0 0 18px;
        flex: none;
    }
}
/* SÖZLEŞME KAYITLARI */
.legal-record-page {
    max-width: 1100px;
    margin: 0 auto;
}

.legal-record-summary {
    padding: 26px;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.18);
}

.legal-summary-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.legal-summary-label {
    display: block;
    margin-bottom: 6px;
    color: #fdba74;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.legal-summary-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 25px;
}

.legal-status-badge {
    padding: 9px 14px;
    color: #dcfce7;
    background: rgba(22, 163, 74, 0.22);
    border: 1px solid rgba(74, 222, 128, 0.35);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.legal-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.legal-summary-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
}

    .legal-summary-item span {
        display: block;
        margin-bottom: 5px;
        color: #cbd5e1;
        font-size: 12px;
    }

    .legal-summary-item strong {
        color: #ffffff;
        font-size: 15px;
    }

.legal-document-panel {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.legal-document-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

    .legal-document-header > div {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .legal-document-header h3 {
        margin: 0 0 4px;
        color: #111827;
        font-size: 18px;
    }

    .legal-document-header p {
        margin: 0;
        color: #64748b;
        font-size: 13px;
    }

.document-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    min-width: 45px;
    height: 45px;
    color: #ffffff;
    background: #f97316;
    border-radius: 13px;
    font-weight: 800;
}

.legal-document-text {
    max-height: 520px;
    margin: 0;
    padding: 25px;
    overflow: auto;
    color: #1f2937;
    background: #ffffff;
    border: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.75;
}

.legal-record-info {
    padding: 18px 20px;
    color: #7c2d12;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 15px;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .legal-summary-header,
    .legal-document-header {
        flex-direction: column;
        align-items: stretch;
    }

    .legal-summary-grid {
        grid-template-columns: 1fr;
    }

    .legal-status-badge {
        text-align: center;
    }

    .legal-document-header > div {
        align-items: flex-start;
    }
}
/* ÖDEME RET SÜRECİ */
.reject-payment-modal {
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.22);
}

    .reject-payment-modal .modal-header {
        padding: 20px 22px;
        background: #fff7ed;
        border-bottom: 1px solid #fed7aa;
    }

    .reject-payment-modal .modal-body {
        padding: 22px;
    }

    .reject-payment-modal .modal-footer {
        padding: 16px 22px;
        background: #f8fafc;
    }

.payment-reject-form {
    width: 100%;
    max-width: 560px;
    padding: 18px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 14px;
}

.payment-rejection-card,
.student-rejection-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    color: #7f1d1d;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 16px;
}

.rejection-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    color: #ffffff;
    background: #dc2626;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 800;
}

.payment-rejection-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #991b1b;
}

.payment-rejection-card p,
.student-rejection-notice p {
    margin: 0 0 8px;
    line-height: 1.65;
}

.rejection-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #991b1b;
    font-size: 13px;
}

.student-rejection-notice {
    display: block;
}

.student-rejection-title {
    margin-bottom: 7px;
    color: #991b1b;
    font-weight: 800;
}
/* ÖĞRENCİ PANELİ VE ÖDEME FİLTRELERİ */
.dashboard-stat-card {
    height: 100%;
    padding: 20px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

    .dashboard-stat-card h3 {
        margin-bottom: 10px;
        font-size: 19px;
        font-weight: 800;
    }

.dashboard-stat-number {
    margin-bottom: 12px;
    color: #111827;
    font-size: 32px;
    font-weight: 900;
}

.dashboard-section {
    height: 100%;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}

.dashboard-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
}

    .dashboard-section-header h2 {
        margin: 0;
        font-size: 23px;
    }

.dashboard-service-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dashboard-service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

    .dashboard-service-item strong,
    .dashboard-service-item small {
        display: block;
    }

    .dashboard-service-item small {
        margin-top: 4px;
        color: #64748b;
    }

.payment-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.payment-item-card {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}
/* ERİŞİM YÖNETİMİ */
.access-stat-card {
    display: block;
    height: 100%;
    padding: 18px;
    color: #111827;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 7px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .access-stat-card:hover {
        color: #111827;
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    }

    .access-stat-card span {
        display: block;
        margin-bottom: 8px;
        color: #64748b;
        font-size: 13px;
        font-weight: 700;
    }

    .access-stat-card strong {
        display: block;
        font-size: 29px;
        font-weight: 900;
    }

.access-table thead {
    color: #ffffff;
    background: #111827;
}

.access-table td {
    vertical-align: middle;
}

.access-detail-header {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.access-status-box {
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}
/* ERİŞİM TABLOSU HIZLI İŞLEMLER MENÜSÜ */
.access-actions-menu {
    position: relative;
}

    .access-actions-menu .dropdown-menu {
        z-index: 1080;
        min-width: 190px;
        max-height: 320px;
        overflow-y: auto;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        box-shadow: 0 14px 35px rgba(15, 23, 42, 0.18);
    }

    .access-actions-menu .dropdown-item {
        padding: 10px 16px;
    }

@media (min-width: 992px) {
    .access-table-responsive {
        overflow: visible;
    }
}

@media (max-width: 991.98px) {
    .access-table-responsive {
        overflow-x: auto;
    }
}
/* GELİŞMİŞ EĞİTİM İLERLEMESİ */
.course-learning-grid {
    display: grid;
    gap: 24px;
}

.course-learning-card {
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 9px 26px rgba(15, 23, 42, 0.06);
}

.course-learning-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.course-learning-label,
.dashboard-continue-label {
    display: block;
    margin-bottom: 6px;
    color: #f97316;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.course-learning-header h2 {
    margin: 0;
    font-size: 25px;
}

.course-progress-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    min-width: 68px;
    height: 68px;
    color: #ffffff;
    background: #16a34a;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 900;
}

.course-learning-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

    .course-learning-stats > div {
        padding: 14px;
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        border-radius: 13px;
    }

    .course-learning-stats span,
    .course-learning-stats strong {
        display: block;
    }

    .course-learning-stats span {
        margin-bottom: 5px;
        color: #64748b;
        font-size: 12px;
    }

.course-progress-area {
    margin-top: 20px;
}

.course-progress-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.continue-lesson-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 22px;
    padding: 18px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 15px;
}

    .continue-lesson-box span,
    .continue-lesson-box strong {
        display: block;
    }

    .continue-lesson-box span {
        color: #9a3412;
        font-size: 12px;
    }

    .continue-lesson-box strong {
        margin-top: 4px;
        color: #431407;
    }

.course-lesson-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 22px;
}

.course-lesson-item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 13px;
    padding: 13px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 13px;
}

.lesson-order {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    color: #ffffff;
    background: #111827;
    border-radius: 11px;
    font-weight: 800;
}

.lesson-information strong,
.lesson-information small {
    display: block;
}

.lesson-information small {
    margin-top: 4px;
}

.dashboard-continue-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: 28px;
    color: #ffffff;
    background: linear-gradient(135deg, #111827, #1f2937);
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.2);
}

    .dashboard-continue-card h2 {
        margin: 0 0 5px;
        color: #ffffff;
    }

    .dashboard-continue-card p {
        margin-bottom: 18px;
        color: #cbd5e1;
    }

.dashboard-continue-progress {
    max-width: 550px;
}

    .dashboard-continue-progress > div:first-child {
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;
        color: #e2e8f0;
        font-size: 13px;
    }

.dashboard-course-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.dashboard-course-item {
    padding: 17px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.dashboard-course-main,
.dashboard-course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

    .dashboard-course-main h3 {
        margin: 0 0 4px;
        font-size: 17px;
    }

    .dashboard-course-main small {
        color: #64748b;
    }

    .dashboard-course-main > strong {
        color: #16a34a;
        font-size: 20px;
    }

.dashboard-course-footer {
    margin-top: 13px;
    color: #64748b;
    font-size: 13px;
}

@media (max-width: 768px) {
    .course-learning-stats {
        grid-template-columns: 1fr;
    }

    .continue-lesson-box,
    .dashboard-continue-card {
        flex-direction: column;
        align-items: stretch;
    }

        .continue-lesson-box .btn,
        .dashboard-continue-card .btn {
            width: 100%;
        }

    .course-lesson-item {
        grid-template-columns: 40px 1fr;
    }

        .course-lesson-item > div:last-child {
            grid-column: 1 / -1;
        }

        .course-lesson-item .btn {
            width: 100%;
        }
}
/* ÖĞRENCİ İLERLEME RAPORU */
.progress-stat-card {
    display: block;
    height: 100%;
    padding: 18px;
    color: #111827;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 7px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .progress-stat-card:hover {
        color: #111827;
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    }

    .progress-stat-card span {
        display: block;
        min-height: 38px;
        margin-bottom: 7px;
        color: #64748b;
        font-size: 13px;
        font-weight: 700;
    }

    .progress-stat-card strong {
        display: block;
        font-size: 29px;
        font-weight: 900;
    }

.progress-report-table {
    min-width: 1150px;
}

    .progress-report-table thead {
        color: #ffffff;
        background: #111827;
    }

    .progress-report-table th,
    .progress-report-table td {
        padding: 14px;
        vertical-align: middle;
    }

.progress-report-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #475569;
    font-size: 13px;
}

    .progress-report-value strong {
        color: #16a34a;
        font-size: 15px;
    }

.progress-report-table .progress {
    height: 8px;
    overflow: hidden;
    background: #e5e7eb;
    border-radius: 999px;
}

.progress-report-table .progress-bar {
    border-radius: 999px;
}

@media (min-width: 992px) {
    .progress-report-responsive {
        overflow: visible;
    }
}

@media (max-width: 991.98px) {
    .progress-report-responsive {
        overflow-x: auto;
    }
}
.contract-check-box {
  padding: 16px 18px;
  background: #fff7ed;
  border: 2px solid #f97316;
  border-radius: 14px;
  margin-top: 14px;
  margin-bottom: 16px;
}

  .contract-check-box .form-check-input {
    width: 24px;
    height: 24px;
    margin-top: 2px;
    border: 2px solid #f97316;
    cursor: pointer;
  }

    .contract-check-box .form-check-input:checked {
      background-color: #f97316;
      border-color: #f97316;
    }

  .contract-check-box .form-check-label {
    margin-left: 8px;
    color: #111827;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
  }

  .contract-check-box a {
    color: #ea580c;
    font-weight: 900;
    text-decoration: underline;
  }

@media (max-width: 991.98px) {
  .management-menu .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100%;
    margin-top: 8px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: none;
  }

  .management-menu.show .dropdown-menu {
    display: block !important;
  }

  .management-menu .dropdown-item {
    padding: 12px 14px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
  }

    .management-menu .dropdown-item:active,
    .management-menu .dropdown-item:hover {
      background: #fff7ed;
      color: #ea580c;
    }
}
/* Sözleşme onay kutusu - belirgin görünüm */
.agreement-box {
  padding: 20px 22px !important;
  background: #fff7ed !important;
  border: 3px solid #f97316 !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.14) !important;
}

  .agreement-box .form-check {
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    min-height: 48px;
    padding-left: 0 !important;
  }

  .agreement-box .form-check-input {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    margin-top: 2px !important;
    margin-left: 0 !important;
    border: 4px solid #f97316 !important;
    border-radius: 9px !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.16) !important;
    cursor: pointer !important;
    transform: none !important;
    accent-color: #f97316;
  }

    .agreement-box .form-check-input:checked {
      background-color: #f97316 !important;
      border-color: #ea580c !important;
      box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.20), 0 0 0 2px #ffffff inset !important;
    }

    .agreement-box .form-check-input:focus {
      border-color: #ea580c !important;
      box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.28) !important;
    }

  .agreement-box .form-check-label {
    margin-left: 0 !important;
    color: #111827 !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.55 !important;
    cursor: pointer !important;
  }

/* Mobil Yönetim menüsü - açık kalma düzeltmesi */
@media (max-width: 991.98px) {
  .management-menu {
    width: 100%;
  }

    .management-menu > .dropdown-toggle {
      display: flex !important;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .management-menu > .dropdown-menu,
    .management-menu > .dropdown-menu.show,
    .management-menu.show > .dropdown-menu {
      position: static !important;
      display: block;
      width: 100% !important;
      min-width: 100% !important;
      margin-top: 8px !important;
      padding: 8px !important;
      transform: none !important;
      background: #ffffff !important;
      border: 1px solid #e5e7eb !important;
      border-radius: 14px !important;
      box-shadow: none !important;
    }

    .management-menu:not(.show) > .dropdown-menu {
      display: none !important;
    }

    .management-menu .dropdown-item {
      padding: 13px 14px !important;
      color: #111827 !important;
      border-radius: 10px !important;
      font-size: 15px !important;
      font-weight: 800 !important;
    }

      .management-menu .dropdown-item:hover,
      .management-menu .dropdown-item:focus,
      .management-menu .dropdown-item:active {
        color: #ea580c !important;
        background: #fff7ed !important;
      }
}

@media (max-width: 576px) {
  .agreement-box {
    padding: 18px 16px !important;
  }

    .agreement-box .form-check-input {
      width: 42px !important;
      height: 42px !important;
      min-width: 42px !important;
      min-height: 42px !important;
    }

    .agreement-box .form-check-label {
      font-size: 15px !important;
    }
}
