#toast-container {
    z-index: 9999;
}

#toast-container > .toast {
    opacity: 1;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#toast-container > .toast-success {
    background-color: #28a745;
}

#toast-container > .toast-error {
    background-color: #dc3545;
}

#toast-container > .toast-warning {
    background-color: #ffc107;
    color: #212529;
}

#toast-container > .toast-warning .toast-title,
#toast-container > .toast-warning .toast-message {
    color: #212529;
}

#toast-container > .toast-info {
    background-color: #17a2b8;
}

.dataTables_wrapper .dataTables_length select {
    min-width: 4.85rem;
    padding-left: 0.65rem;
    padding-right: 1.9rem;
    width: auto;
}

.public-dashboard-layout .main-header,
.public-dashboard-layout .content-wrapper,
.public-dashboard-layout .main-footer {
    margin-left: 0 !important;
}

.public-dashboard-layout .content-wrapper {
    background: #eef2f7;
}

.dashboard-hero {
    align-items: center;
    background: linear-gradient(135deg, #0f4c81 0%, #1f7a8c 55%, #38a3a5 100%);
    border-radius: 0.75rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
    min-height: 220px;
    overflow: hidden;
    padding: 2rem;
    position: relative;
}

.dashboard-hero::after {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    content: "";
    height: 260px;
    position: absolute;
    right: -80px;
    top: -90px;
    width: 260px;
}

.dashboard-hero h2 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.dashboard-hero p {
    font-size: 1.05rem;
    margin-bottom: 0;
    max-width: 680px;
    opacity: 0.92;
}

.dashboard-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.65rem;
    opacity: 0.85;
    text-transform: uppercase;
}

.dashboard-hero-actions {
    display: flex;
    flex-shrink: 0;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.dashboard-process {
    display: grid;
    gap: 1rem;
}

.dashboard-process-step {
    align-items: flex-start;
    display: flex;
    gap: 0.85rem;
}

.dashboard-process-step span {
    align-items: center;
    background: #007bff;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 2rem;
    font-weight: 700;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.dashboard-process-step p {
    color: #6c757d;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .dashboard-hero {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.5rem;
    }

    .dashboard-hero h2 {
        font-size: 1.6rem;
    }

    .dashboard-hero-actions {
        flex-wrap: wrap;
    }
}

.home-landing-section {
    margin-bottom: 1.5rem;
}

.home-landing-section-title {
    color: #0f4c81;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.home-landing-section-lead {
    color: #6c757d;
    margin-bottom: 1rem;
}

.home-landing-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-landing-services li {
    background: linear-gradient(180deg, #f7fafc 0%, #eef4f8 100%);
    border: 1px solid #d7e3ec;
    border-radius: 0.35rem;
    color: #1f4e6b;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.55rem 0.9rem;
}

.home-landing-video {
    background: #0b314d;
    border-radius: 0.75rem;
    overflow: hidden;
}

.home-landing-video-frame {
    aspect-ratio: 16 / 9;
    position: relative;
    width: 100%;
}

.home-landing-video-frame iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.home-landing-video-player {
    display: block;
    max-height: 480px;
    width: 100%;
}

.home-landing-video-placeholder {
    align-items: center;
    color: #fff;
    display: flex;
    gap: 1rem;
    min-height: 220px;
    padding: 2rem;
}

.home-landing-video-placeholder i {
    font-size: 2.75rem;
    opacity: 0.85;
}

.home-landing-video-placeholder p {
    margin-bottom: 0;
    opacity: 0.85;
}

.home-landing-steps {
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
}

.home-landing-feature {
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
    border: 1px solid #e3e8ee;
    border-radius: 0.75rem;
    height: 100%;
    padding: 1.35rem 1.4rem;
}

.home-landing-feature i {
    color: #1f7a8c;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.home-landing-feature h3 {
    color: #0f4c81;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.home-landing-feature p {
    color: #6c757d;
    margin-bottom: 0;
}

.home-landing-module {
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 0.75rem;
    padding: 1.35rem 1.5rem 0.75rem;
}

.home-landing-module--patent {
    border-top: 4px solid #0f4c81;
}

.home-landing-module--usi {
    border-top: 4px solid #1f7a8c;
}

.home-landing-module--system {
    border-top: 4px solid #6c757d;
}

.home-landing-module-header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.15rem;
}

.home-landing-module-eyebrow {
    color: #6c757d;
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.home-landing-module-header h3 {
    color: #0f4c81;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.home-landing-module-header p {
    color: #6c757d;
    margin-bottom: 0;
}

.home-yearly-stats-card {
    border: 1px solid #e6ebf0;
    border-radius: 0.65rem;
    box-shadow: 0 0.12rem 0.35rem rgba(31, 45, 61, 0.05);
    overflow: hidden;
}

.home-yearly-stats-card .card-header {
    background: #f8fafc;
    border-bottom: 1px solid #e9edf2;
}

.home-yearly-stats-card .card-title {
    font-size: 0.95rem;
    font-weight: 700;
}

.home-yearly-stats-totals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.home-yearly-stats-total-pill {
    background: #eef2f7;
    border-radius: 999px;
    color: #495057;
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
}

.home-yearly-stats-total-pill-success {
    background: #e8f6ec;
    color: #1f7a37;
}

.home-yearly-stats-total-pill-info {
    background: #e8f1fb;
    color: #2563a8;
}

.home-yearly-stats-table thead th {
    background: #f8fafc;
    border-top: 0;
    color: #6c757d;
    font-size: 0.75rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-yearly-stats-table tbody td,
.home-yearly-stats-table tfoot th {
    font-size: 0.84rem;
    vertical-align: middle;
}

.home-yearly-stats-table tfoot th {
    background: #f8fafc;
    border-top: 1px solid #e9edf2;
}

.home-yearly-stats-empty {
    color: #6c757d;
    font-size: 0.85rem;
    padding: 1rem;
    text-align: center;
}

/* Patent TTO landing */
.patent-tto-hero {
    border-radius: 1rem;
    color: #fff;
    overflow: hidden;
    padding: 2rem 2.1rem;
    position: relative;
}

.patent-tto-hero-bg {
    background:
        radial-gradient(ellipse 70% 90% at 100% 0%, rgba(56, 163, 165, 0.45), transparent 55%),
        radial-gradient(ellipse 50% 70% at 0% 100%, rgba(15, 76, 129, 0.55), transparent 50%),
        linear-gradient(135deg, #0a2f4f 0%, #0f4c81 42%, #1a6b7a 100%);
    inset: 0;
    position: absolute;
}

.patent-tto-hero-bg::after {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    content: "";
    inset: 0;
    opacity: 0.45;
    position: absolute;
}

.patent-tto-hero-content {
    align-items: center;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.patent-tto-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.55rem;
    opacity: 0.8;
    text-transform: uppercase;
}

.patent-tto-hero h2 {
    font-size: 2.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.patent-tto-hero p {
    font-size: 1.02rem;
    line-height: 1.55;
    margin-bottom: 1.15rem;
    max-width: 34rem;
    opacity: 0.9;
}

.patent-tto-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.patent-tto-btn-primary {
    background: #fff;
    border: none;
    color: #0f4c81;
    font-weight: 600;
    padding: 0.55rem 1.15rem;
}

.patent-tto-btn-primary:hover {
    background: #e8f2f8;
    color: #0a2f4f;
}

.patent-tto-btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font-weight: 600;
    padding: 0.55rem 1.15rem;
}

.patent-tto-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.patent-tto-hero-stat {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.9rem;
    flex-shrink: 0;
    min-width: 9.5rem;
    padding: 1.15rem 1.35rem;
    text-align: center;
    backdrop-filter: blur(6px);
}

.patent-tto-hero-stat-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    opacity: 0.8;
    text-transform: uppercase;
}

.patent-tto-hero-stat strong {
    display: block;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.patent-tto-hero-stat-hint {
    display: block;
    font-size: 0.8rem;
    opacity: 0.75;
}

.patent-tto-panel {
    background: #fff;
    border: 1px solid #dce6ee;
    border-radius: 1rem;
    box-shadow: 0 10px 28px rgba(15, 76, 129, 0.06);
    overflow: hidden;
    padding: 1.4rem 1.5rem 1.5rem;
}

.patent-tto-panel-head {
    margin-bottom: 1.1rem;
}

.patent-tto-panel-head h3 {
    color: #0f4c81;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.patent-tto-panel-head p {
    color: #6c757d;
    margin-bottom: 0;
}

.patent-tto-metrics {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1.35rem;
}

.patent-tto-metric {
    align-items: center;
    background: linear-gradient(160deg, #f8fbfd 0%, #eef5f9 100%);
    border: 1px solid #d7e3ec;
    border-radius: 0.85rem;
    color: inherit;
    display: flex;
    gap: 1rem;
    padding: 1.15rem 1.2rem;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.patent-tto-metric:hover {
    border-color: #9ebfd4;
    box-shadow: 0 8px 20px rgba(15, 76, 129, 0.1);
    color: inherit;
    text-decoration: none;
    transform: translateY(-2px);
}

.patent-tto-metric-icon {
    align-items: center;
    border-radius: 0.75rem;
    color: #fff;
    display: inline-flex;
    flex: 0 0 3rem;
    font-size: 1.15rem;
    height: 3rem;
    justify-content: center;
    width: 3rem;
}

.patent-tto-metric--review .patent-tto-metric-icon {
    background: linear-gradient(145deg, #d4a017, #c47f0a);
}

.patent-tto-metric--revision .patent-tto-metric-icon {
    background: linear-gradient(145deg, #c45c5c, #a63d3d);
}

.patent-tto-metric-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.patent-tto-metric-value {
    color: #0f4c81;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.1;
}

.patent-tto-metric-label {
    color: #1f4e6b;
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 0.15rem;
}

.patent-tto-metric-desc {
    color: #6c757d;
    font-size: 0.82rem;
    margin-top: 0.2rem;
}

.patent-tto-metric-arrow {
    color: #8aa3b5;
    flex-shrink: 0;
    font-size: 0.9rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.patent-tto-metric:hover .patent-tto-metric-arrow {
    color: #0f4c81;
    transform: translateX(3px);
}

.patent-tto-flow {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.patent-tto-flow-step {
    align-items: flex-start;
    background: #f7fafc;
    border: 1px solid #e3e8ee;
    border-radius: 0.75rem;
    display: flex;
    gap: 0.7rem;
    padding: 0.9rem 0.95rem;
}

.patent-tto-flow-step span {
    align-items: center;
    background: #0f4c81;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 1.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    height: 1.75rem;
    justify-content: center;
    width: 1.75rem;
}

.patent-tto-flow-step strong {
    color: #0f4c81;
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.patent-tto-flow-step p {
    color: #6c757d;
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* Sanayi / ÜSİ TTO landing (Patent TTO ile aynı dil) */
.usi-tto-hero {
    border-radius: 1rem;
    color: #fff;
    overflow: hidden;
    padding: 2rem 2.1rem;
    position: relative;
}

.usi-tto-hero-bg {
    background:
        radial-gradient(ellipse 70% 90% at 100% 0%, rgba(56, 189, 168, 0.4), transparent 55%),
        radial-gradient(ellipse 50% 70% at 0% 100%, rgba(15, 90, 100, 0.5), transparent 50%),
        linear-gradient(135deg, #0a3d45 0%, #1f7a8c 45%, #2a9d8f 100%);
    inset: 0;
    position: absolute;
}

.usi-tto-hero-bg::after {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    content: "";
    inset: 0;
    opacity: 0.45;
    position: absolute;
}

.usi-tto-hero .patent-tto-hero-content,
.usi-tto-hero .patent-tto-hero-actions,
.usi-tto-hero .patent-tto-hero-stat {
    position: relative;
    z-index: 1;
}

.usi-tto-hero h2 {
    font-size: 2.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.usi-tto-hero p {
    font-size: 1.02rem;
    line-height: 1.55;
    margin-bottom: 1.15rem;
    max-width: 34rem;
    opacity: 0.9;
}

.usi-tto-metrics {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1.35rem;
}

.usi-tto-metric--review .patent-tto-metric-icon {
    background: linear-gradient(145deg, #2a9d8f, #1f7a8c);
}

.usi-tto-metric--price .patent-tto-metric-icon {
    background: linear-gradient(145deg, #3d7ea6, #0f4c81);
}

.usi-tto-metric--contract .patent-tto-metric-icon {
    background: linear-gradient(145deg, #3fa76a, #2d7a4f);
}

.usi-tto-metric--report .patent-tto-metric-icon {
    background: linear-gradient(145deg, #e09f3e, #c77d1a);
}

.usi-tto-metric--pulse {
    box-shadow: 0 0 0 0 rgba(224, 159, 62, 0.45);
    animation: usi-tto-metric-pulse 1.8s ease-out infinite;
}

@keyframes usi-tto-metric-pulse {
    0% { box-shadow: 0 0 0 0 rgba(224, 159, 62, 0.45); }
    70% { box-shadow: 0 0 0 10px rgba(224, 159, 62, 0); }
    100% { box-shadow: 0 0 0 0 rgba(224, 159, 62, 0); }
}

.usi-tto-metric--active .patent-tto-metric-icon {
    background: linear-gradient(145deg, #6c7a86, #4a5560);
}

@media (max-width: 991.98px) {
    .patent-tto-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .home-landing-video-placeholder {
        align-items: flex-start;
        flex-direction: column;
        min-height: 180px;
        padding: 1.35rem;
    }

    .home-landing-module-header {
        align-items: stretch;
        flex-direction: column;
    }

    .patent-tto-hero,
    .usi-tto-hero {
        padding: 1.5rem;
    }

    .patent-tto-hero-content {
        align-items: stretch;
        flex-direction: column;
        gap: 1.25rem;
    }

    .patent-tto-hero h2,
    .usi-tto-hero h2 {
        font-size: 1.7rem;
    }

    .patent-tto-hero-stat {
        text-align: left;
    }

    .patent-tto-metrics,
    .usi-tto-metrics {
        grid-template-columns: 1fr;
    }

    .patent-tto-flow {
        grid-template-columns: 1fr;
    }
}

.patent-form-detail .patent-detail-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #343a40;
}

.patent-form-detail .patent-detail-value {
    border: 1px solid #e3e8ee;
    border-radius: 0.4rem;
    padding: 0.85rem 0.95rem;
    background: #fbfcfd;
    white-space: pre-wrap;
    word-break: break-word;
    min-height: 2.5rem;
}

.patent-form-detail .patent-revision-requested .patent-detail-value {
    border-color: #ffc107;
    box-shadow: inset 4px 0 0 #ffc107;
    background: #fffdf5;
}

.patent-form-detail .patent-revision-updated .patent-detail-value {
    background: linear-gradient(180deg, #f4fff7 0%, #eefaf2 100%);
    border-color: #28a745;
    box-shadow: inset 5px 0 0 #28a745, 0 0 0 1px rgba(40, 167, 69, 0.12);
}

.patent-detail-value-revised {
    /* keep class for border styling hooks; label moved outside */
}

.patent-revision-current-label-row {
    display: flex;
    justify-content: flex-end;
    margin: 0.35rem 0.75rem 0;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

.patent-revision-current-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #1f7a3f;
    background: rgba(40, 167, 69, 0.12);
    border: 1px solid rgba(40, 167, 69, 0.25);
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

.patent-revision-compare {
    border: 1px solid #d7e3f0;
    border-radius: 0.5rem;
    background: #f8fbff;
    padding: 0.85rem;
}

.patent-revision-compare-header {
    font-size: 0.82rem;
    font-weight: 700;
    color: #2c4a66;
    margin-bottom: 0.65rem;
}

.patent-revision-compare-hint {
    font-size: 0.82rem;
    color: #5a6f84;
    margin-bottom: 0.65rem;
}

.patent-revision-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.patent-revision-compare-panel {
    border-radius: 0.4rem;
    border: 1px solid #dbe4ee;
    background: #fff;
    overflow: hidden;
}

.patent-revision-compare-panel-old {
    border-top: 3px solid #dc3545;
}

.patent-revision-compare-panel-new {
    border-top: 3px solid #28a745;
}

.patent-revision-compare-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.45rem 0.65rem;
    border-bottom: 1px solid #edf2f7;
    background: #f7fafc;
    color: #4a5f73;
}

.patent-revision-diff-content {
    padding: 0.7rem 0.75rem;
    font-size: 0.9rem;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}

.patent-revision-diff-equal {
    color: inherit;
}

.patent-revision-diff-removed {
    background: rgba(220, 53, 69, 0.18);
    color: #9b1c2f;
    text-decoration: line-through;
    border-radius: 0.2rem;
    padding: 0 0.12rem;
}

.patent-revision-diff-added {
    background: rgba(40, 167, 69, 0.2);
    color: #146c2e;
    font-weight: 600;
    border-radius: 0.2rem;
    padding: 0 0.12rem;
}

.patent-revision-diff-unchanged {
    color: #495057;
}

@media (max-width: 767.98px) {
    .patent-revision-compare-grid {
        grid-template-columns: 1fr;
    }
}

.patent-revision-note {
    background: #fff3cd;
    border: 1px solid #ffca2c;
    border-left: 6px solid #fd7e14;
    border-radius: 0.35rem;
    color: #3d2b00;
    font-size: 0.9rem;
    padding: 0.75rem 0.85rem;
}

.patent-revision-note strong {
    color: #9a4d00;
}

.patent-revision-note i {
    color: #fd7e14;
}

.patent-revision-note-block-separated {
    border-top: 1px dashed rgba(253, 126, 20, 0.45);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
}

.patent-revision-quote {
    margin-bottom: 0.55rem;
}

.patent-revision-quote-label,
.patent-revision-explanation-label {
    color: #9a4d00;
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.patent-revision-quote-text,
.patent-revision-quote-preview {
    background: #fff8e8;
    border: 1px solid #ffe08a;
    border-radius: 0.3rem;
    color: #5c4300;
    font-size: 0.88rem;
    font-style: italic;
    margin: 0;
    padding: 0.55rem 0.7rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.patent-revision-explanation-text {
    white-space: pre-wrap;
    word-break: break-word;
}

.patent-revision-nav {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.55rem;
    margin-right: 0.35rem;
    max-width: 100%;
}

.patent-revision-nav-label {
    align-items: center;
    color: #9a4d00;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    gap: 0.3rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.patent-revision-nav-label i {
    color: #fd7e14;
}

.patent-revision-jump-btn-num {
    display: inline;
}

.patent-revision-jump-btn .patent-revision-payload-quote,
.patent-revision-jump-btn .patent-revision-payload-note {
    display: none !important;
}

.patent-revision-jump-btn {
    align-items: center;
    border-radius: 999px;
    border-style: solid;
    border-width: 1px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    height: 1.7rem;
    justify-content: center;
    line-height: 1;
    min-width: 1.7rem;
    padding: 0 0.45rem;
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.patent-revision-jump-btn:hover,
.patent-revision-jump-btn:focus {
    color: #fff;
    filter: brightness(1.06);
    outline: none;
    transform: translateY(-1px);
}

.patent-revision-quote-mark {
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-radius: 0.2rem;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    cursor: pointer;
    padding: 0.05em 0.12em;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.patent-revision-quote-mark:hover,
.patent-revision-quote-mark:focus {
    outline: none;
}

/* Tone 0 — amber */
.patent-revision-tone-0.patent-revision-jump-btn {
    background: linear-gradient(180deg, #ffb020 0%, #f08800 100%);
    border-color: #d97706;
    box-shadow: 0 1px 2px rgba(217, 119, 6, 0.28);
}
.patent-revision-tone-0.patent-revision-jump-btn:hover,
.patent-revision-tone-0.patent-revision-jump-btn:focus,
.patent-revision-tone-0.patent-revision-jump-btn.is-active {
    box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.35);
}
.patent-revision-tone-0.patent-revision-quote-mark {
    background: linear-gradient(180deg, rgba(255, 213, 79, 0.55) 0%, rgba(255, 167, 38, 0.45) 100%);
    border-bottom-color: #ea580c;
    color: #7c2d12;
}
.patent-revision-tone-0.patent-revision-quote-mark:hover,
.patent-revision-tone-0.patent-revision-quote-mark:focus,
.patent-revision-tone-0.patent-revision-quote-mark.is-active {
    background: linear-gradient(180deg, rgba(255, 193, 7, 0.72) 0%, rgba(251, 146, 60, 0.55) 100%);
    box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.3);
}

/* Tone 1 — teal */
.patent-revision-tone-1.patent-revision-jump-btn {
    background: linear-gradient(180deg, #2dd4bf 0%, #0f766e 100%);
    border-color: #0f766e;
    box-shadow: 0 1px 2px rgba(15, 118, 110, 0.28);
}
.patent-revision-tone-1.patent-revision-jump-btn:hover,
.patent-revision-tone-1.patent-revision-jump-btn:focus,
.patent-revision-tone-1.patent-revision-jump-btn.is-active {
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.4);
}
.patent-revision-tone-1.patent-revision-quote-mark {
    background: linear-gradient(180deg, rgba(153, 246, 228, 0.65) 0%, rgba(45, 212, 191, 0.45) 100%);
    border-bottom-color: #0f766e;
    color: #115e59;
}
.patent-revision-tone-1.patent-revision-quote-mark:hover,
.patent-revision-tone-1.patent-revision-quote-mark:focus,
.patent-revision-tone-1.patent-revision-quote-mark.is-active {
    background: linear-gradient(180deg, rgba(94, 234, 212, 0.75) 0%, rgba(20, 184, 166, 0.55) 100%);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.35);
}

/* Tone 2 — rose */
.patent-revision-tone-2.patent-revision-jump-btn {
    background: linear-gradient(180deg, #fb7185 0%, #e11d48 100%);
    border-color: #be123c;
    box-shadow: 0 1px 2px rgba(225, 29, 72, 0.28);
}
.patent-revision-tone-2.patent-revision-jump-btn:hover,
.patent-revision-tone-2.patent-revision-jump-btn:focus,
.patent-revision-tone-2.patent-revision-jump-btn.is-active {
    box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.4);
}
.patent-revision-tone-2.patent-revision-quote-mark {
    background: linear-gradient(180deg, rgba(254, 205, 211, 0.7) 0%, rgba(251, 113, 133, 0.45) 100%);
    border-bottom-color: #e11d48;
    color: #9f1239;
}
.patent-revision-tone-2.patent-revision-quote-mark:hover,
.patent-revision-tone-2.patent-revision-quote-mark:focus,
.patent-revision-tone-2.patent-revision-quote-mark.is-active {
    background: linear-gradient(180deg, rgba(254, 178, 178, 0.8) 0%, rgba(244, 63, 94, 0.5) 100%);
    box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.35);
}

/* Tone 3 — sky */
.patent-revision-tone-3.patent-revision-jump-btn {
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
    border-color: #0369a1;
    box-shadow: 0 1px 2px rgba(2, 132, 199, 0.28);
}
.patent-revision-tone-3.patent-revision-jump-btn:hover,
.patent-revision-tone-3.patent-revision-jump-btn:focus,
.patent-revision-tone-3.patent-revision-jump-btn.is-active {
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.4);
}
.patent-revision-tone-3.patent-revision-quote-mark {
    background: linear-gradient(180deg, rgba(186, 230, 253, 0.7) 0%, rgba(56, 189, 248, 0.45) 100%);
    border-bottom-color: #0284c7;
    color: #075985;
}
.patent-revision-tone-3.patent-revision-quote-mark:hover,
.patent-revision-tone-3.patent-revision-quote-mark:focus,
.patent-revision-tone-3.patent-revision-quote-mark.is-active {
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.8) 0%, rgba(14, 165, 233, 0.5) 100%);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.35);
}

/* Tone 4 — green */
.patent-revision-tone-4.patent-revision-jump-btn {
    background: linear-gradient(180deg, #4ade80 0%, #16a34a 100%);
    border-color: #15803d;
    box-shadow: 0 1px 2px rgba(22, 163, 74, 0.28);
}
.patent-revision-tone-4.patent-revision-jump-btn:hover,
.patent-revision-tone-4.patent-revision-jump-btn:focus,
.patent-revision-tone-4.patent-revision-jump-btn.is-active {
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.4);
}
.patent-revision-tone-4.patent-revision-quote-mark {
    background: linear-gradient(180deg, rgba(187, 247, 208, 0.7) 0%, rgba(74, 222, 128, 0.45) 100%);
    border-bottom-color: #16a34a;
    color: #166534;
}
.patent-revision-tone-4.patent-revision-quote-mark:hover,
.patent-revision-tone-4.patent-revision-quote-mark:focus,
.patent-revision-tone-4.patent-revision-quote-mark.is-active {
    background: linear-gradient(180deg, rgba(134, 239, 172, 0.8) 0%, rgba(34, 197, 94, 0.5) 100%);
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.35);
}

/* Tone 5 — slate */
.patent-revision-tone-5.patent-revision-jump-btn {
    background: linear-gradient(180deg, #94a3b8 0%, #475569 100%);
    border-color: #334155;
    box-shadow: 0 1px 2px rgba(71, 85, 105, 0.28);
}
.patent-revision-tone-5.patent-revision-jump-btn:hover,
.patent-revision-tone-5.patent-revision-jump-btn:focus,
.patent-revision-tone-5.patent-revision-jump-btn.is-active {
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.45);
}
.patent-revision-tone-5.patent-revision-quote-mark {
    background: linear-gradient(180deg, rgba(226, 232, 240, 0.8) 0%, rgba(148, 163, 184, 0.5) 100%);
    border-bottom-color: #475569;
    color: #1e293b;
}
.patent-revision-tone-5.patent-revision-quote-mark:hover,
.patent-revision-tone-5.patent-revision-quote-mark:focus,
.patent-revision-tone-5.patent-revision-quote-mark.is-active {
    background: linear-gradient(180deg, rgba(203, 213, 225, 0.9) 0%, rgba(100, 116, 139, 0.45) 100%);
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.4);
}

.form-group .patent-revision-nav {
    background: #fff8eb;
    border: 1px solid #ffe0a3;
    border-radius: 0.45rem;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
    margin: 0 0 0.65rem;
    padding: 0.45rem 0.6rem;
    max-width: 100%;
}

.patent-revision-note-popup {
    background: #fffdf8;
    border: 1px solid #f6c453;
    border-radius: 0.65rem;
    box-shadow: 0 0.75rem 1.75rem rgba(92, 55, 0, 0.18);
    color: #3d2b00;
    max-width: min(22rem, calc(100vw - 1.5rem));
    padding: 0;
    position: fixed;
    width: 22rem;
    z-index: 1090;
}

.patent-revision-note-popup.patent-revision-tone-0 {
    border-color: #f6c453;
}
.patent-revision-note-popup.patent-revision-tone-0 .patent-revision-note-popup-header {
    background: linear-gradient(180deg, #fff3cd 0%, #ffe8a3 100%);
    border-bottom-color: #f0d27a;
}
.patent-revision-note-popup.patent-revision-tone-0 .patent-revision-note-popup-title {
    color: #9a4d00;
}

.patent-revision-note-popup.patent-revision-tone-1 {
    border-color: #5eead4;
}
.patent-revision-note-popup.patent-revision-tone-1 .patent-revision-note-popup-header {
    background: linear-gradient(180deg, #ccfbf1 0%, #99f6e4 100%);
    border-bottom-color: #5eead4;
}
.patent-revision-note-popup.patent-revision-tone-1 .patent-revision-note-popup-title,
.patent-revision-note-popup.patent-revision-tone-1 .patent-revision-note-popup-close {
    color: #115e59;
}

.patent-revision-note-popup.patent-revision-tone-2 {
    border-color: #fda4af;
}
.patent-revision-note-popup.patent-revision-tone-2 .patent-revision-note-popup-header {
    background: linear-gradient(180deg, #ffe4e6 0%, #fecdd3 100%);
    border-bottom-color: #fda4af;
}
.patent-revision-note-popup.patent-revision-tone-2 .patent-revision-note-popup-title,
.patent-revision-note-popup.patent-revision-tone-2 .patent-revision-note-popup-close {
    color: #9f1239;
}

.patent-revision-note-popup.patent-revision-tone-3 {
    border-color: #7dd3fc;
}
.patent-revision-note-popup.patent-revision-tone-3 .patent-revision-note-popup-header {
    background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 100%);
    border-bottom-color: #7dd3fc;
}
.patent-revision-note-popup.patent-revision-tone-3 .patent-revision-note-popup-title,
.patent-revision-note-popup.patent-revision-tone-3 .patent-revision-note-popup-close {
    color: #075985;
}

.patent-revision-note-popup.patent-revision-tone-4 {
    border-color: #86efac;
}
.patent-revision-note-popup.patent-revision-tone-4 .patent-revision-note-popup-header {
    background: linear-gradient(180deg, #dcfce7 0%, #bbf7d0 100%);
    border-bottom-color: #86efac;
}
.patent-revision-note-popup.patent-revision-tone-4 .patent-revision-note-popup-title,
.patent-revision-note-popup.patent-revision-tone-4 .patent-revision-note-popup-close {
    color: #166534;
}

.patent-revision-note-popup.patent-revision-tone-5 {
    border-color: #cbd5e1;
}
.patent-revision-note-popup.patent-revision-tone-5 .patent-revision-note-popup-header {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    border-bottom-color: #cbd5e1;
}
.patent-revision-note-popup.patent-revision-tone-5 .patent-revision-note-popup-title,
.patent-revision-note-popup.patent-revision-tone-5 .patent-revision-note-popup-close {
    color: #334155;
}

.patent-revision-note-popup[hidden] {
    display: none !important;
}

.patent-revision-note-popup-header {
    align-items: center;
    background: linear-gradient(180deg, #fff3cd 0%, #ffe8a3 100%);
    border-bottom: 1px solid #f0d27a;
    border-radius: 0.65rem 0.65rem 0 0;
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
    padding: 0.55rem 0.7rem;
}

.patent-revision-note-popup-title {
    align-items: center;
    color: #9a4d00;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 700;
    gap: 0.35rem;
    margin: 0;
}

.patent-revision-note-popup-close {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #9a4d00;
    cursor: pointer;
    display: inline-flex;
    font-size: 1rem;
    height: 1.6rem;
    justify-content: center;
    line-height: 1;
    width: 1.6rem;
}

.patent-revision-note-popup-close:hover,
.patent-revision-note-popup-close:focus {
    background: rgba(154, 77, 0, 0.1);
    outline: none;
}

.patent-revision-note-popup-body {
    padding: 0.7rem 0.8rem 0.85rem;
}

.patent-revision-note-popup-body .patent-revision-quote {
    margin-bottom: 0.65rem;
}

.patent-revision-note-popup-empty {
    color: #6b5a3a;
    font-size: 0.88rem;
    margin: 0;
}

.patent-revision-selection-toolbar {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.18);
    padding: 0.25rem;
    position: fixed;
    z-index: 1080;
}

.patent-revision-selection-toolbar .btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
}

.patent-form-detail .patent-rich-content[data-field] {
    cursor: text;
}

.patent-form-detail .btn-field-revision-request {
    color: #212529;
    font-weight: 700;
    box-shadow: 0 0.125rem 0.35rem rgba(0, 0, 0, 0.12);
}

.patent-form-detail .btn-field-revision-request:hover,
.patent-form-detail .btn-field-revision-request:focus {
    color: #212529;
}

.patent-form-detail .patent-rich-content {
    white-space: normal;
}

.patent-form-detail .patent-rich-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0.5rem 0;
}

.patent-form-detail .patent-rich-content figure.image {
    margin: 0.75rem 0;
    max-width: 100%;
}

.patent-form-detail .patent-rich-content figure.image.image_resized {
    display: block;
}

.patent-form-detail .patent-rich-content figure.image.image_resized img {
    width: 100%;
}

.patent-form-detail .patent-rich-content figure.image figcaption {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    text-align: center;
}

.patent-form-detail .card-header {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f4f8 100%);
}

.patent-form-detail .patent-detail-tabs {
    border-bottom: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.patent-form-detail .patent-detail-tabs .nav-item {
    flex: 1 1 0;
    min-width: 160px;
}

.patent-form-detail .patent-detail-tabs .nav-link {
    align-items: center;
    border-top: 3px solid transparent;
    border-radius: 0;
    color: #6c757d;
    display: flex;
    font-weight: 500;
    gap: 0.65rem;
    height: 100%;
    padding: 0.85rem 1rem;
}

.patent-form-detail .patent-detail-tabs .nav-link.active {
    background: #fff;
    border-top-color: #2563a8;
    color: #1f4d73;
}

.patent-form-detail .patent-tab-step {
    align-items: center;
    background: #dee2e6;
    border-radius: 50%;
    color: #495057;
    display: inline-flex;
    flex: 0 0 1.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    height: 1.75rem;
    justify-content: center;
    width: 1.75rem;
}

.patent-form-detail .patent-detail-tabs .nav-link.active .patent-tab-step {
    background: #2563a8;
    color: #fff;
}

.patent-form-detail .patent-tab-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.patent-form-detail .patent-tab-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.patent-form-detail .patent-tab-subtitle {
    color: #9aa5b1;
    font-size: 0.72rem;
    margin-top: 0.1rem;
}

.patent-form-detail .patent-detail-tabs .nav-link.active .patent-tab-subtitle {
    color: #6c8eb0;
}

.patent-form-detail .patent-inventor-sub-tabs .nav-link,
.patent-form-detail .inventor-sub-tabs .nav-link {
    border-radius: 999px;
    font-size: 0.82rem;
    padding: 0.35rem 0.8rem;
}

.patent-form-detail .patent-inventor-sub-tabs .nav-link.active,
.patent-form-detail .inventor-sub-tabs .nav-link.active {
    background: #2563a8;
}

.patent-form-detail .patent-detail-tab-content {
    min-height: 220px;
    padding-top: 0.25rem;
}

.patent-form-detail .patent-detail-section-header {
    align-items: center;
    border-bottom: 1px solid #edf0f2;
    display: flex;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
}

.patent-form-detail .patent-detail-section-icon {
    align-items: center;
    border-radius: 0.65rem;
    color: #fff;
    display: inline-flex;
    flex: 0 0 2.5rem;
    font-size: 1rem;
    height: 2.5rem;
    justify-content: center;
    width: 2.5rem;
}

.patent-form-detail .patent-detail-section-icon-primary { background: #2563a8; }
.patent-form-detail .patent-detail-section-icon-info { background: #17a2b8; }
.patent-form-detail .patent-detail-section-icon-success { background: #28a745; }

.patent-form-detail .patent-detail-section-title {
    color: #1f2d3d;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.patent-form-detail .patent-detail-section-subtitle {
    color: #6c757d;
    font-size: 0.8rem;
    margin: 0.15rem 0 0;
}

.patent-form-detail .patent-detail-count-badge {
    font-size: 0.75rem;
}

.patent-form-detail .patent-detail-empty {
    align-items: center;
    background: #f8fafc;
    border: 1px dashed #dbe2ea;
    border-radius: 0.45rem;
    color: #6c757d;
    display: flex;
    font-size: 0.9rem;
    gap: 0.5rem;
    justify-content: center;
    padding: 1.25rem;
}

.patent-form-detail .patent-inventor-card,
.patent-form-detail .patent-field-card,
.patent-form-detail .patent-template-documents-card {
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 0.5rem;
    box-shadow: 0 0.08rem 0.35rem rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.patent-form-detail .patent-inventor-card {
    margin-bottom: 0.5rem;
}

.patent-form-detail .patent-inventor-card-header {
    align-items: center;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4fb 100%);
    border-bottom: 1px solid #e6ebf0;
    display: flex;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
}

.patent-form-detail .patent-inventor-avatar,
.patent-form-detail .patent-applicant-avatar {
    align-items: center;
    background: #2563a8;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 2.6rem;
    font-size: 0.95rem;
    font-weight: 700;
    height: 2.6rem;
    justify-content: center;
    width: 2.6rem;
}

.patent-form-detail .patent-inventor-heading {
    flex: 1;
    min-width: 0;
}

.patent-form-detail .patent-inventor-name {
    color: #1f2d3d;
    font-size: 0.98rem;
    font-weight: 700;
}

.patent-form-detail .patent-inventor-meta {
    color: #6c757d;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.78rem;
    gap: 0.65rem;
    margin-top: 0.2rem;
}

.patent-form-detail .patent-inventor-rate {
    color: #2563a8;
    font-weight: 600;
}

.patent-form-detail .patent-inventor-badge {
    font-size: 0.72rem;
}

.patent-form-detail .patent-info-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1rem;
}

.patent-form-detail .patent-info-item-wide {
    grid-column: 1 / -1;
}

.patent-form-detail .patent-info-label {
    color: #6c757d;
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
}

.patent-form-detail .patent-info-value {
    color: #1f2d3d;
    display: block;
    font-size: 0.88rem;
    line-height: 1.4;
    word-break: break-word;
}

.patent-form-detail .patent-field-list {
    display: grid;
    gap: 0.85rem;
}

.patent-form-detail .patent-field-card {
    padding: 0;
}

.patent-form-detail .patent-field-card-highlight {
    border-color: #b8daff;
    box-shadow: 0 0.08rem 0.35rem rgba(37, 99, 168, 0.08);
}

.patent-form-detail .patent-field-card-header {
    align-items: flex-start;
    background: #f8fafc;
    border-bottom: 1px solid #edf0f2;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 0.7rem 0.9rem;
}

.patent-form-detail .patent-field-card-title {
    color: #1f2d3d;
    font-size: 0.9rem;
    font-weight: 700;
}

.patent-field-card-title-block,
.patent-field-label-block {
    flex: 1;
    min-width: 0;
}

.patent-field-title-hint {
    color: #6c757d;
    display: block;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 0.2rem;
}

.patent-field-example-actions {
    margin-top: 0.45rem;
}

.patent-field-example-btn {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.28rem 0.85rem;
}

.patent-example-drawing-modal .modal-header {
    align-items: flex-start;
    border-bottom: 1px solid #e2e8f0;
}

.patent-example-drawing-modal-header .modal-title {
    color: #1e3a5f;
    font-size: 1.05rem;
    font-weight: 700;
}

.patent-example-drawing-modal-body {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    padding: 1rem;
    text-align: center;
}

.patent-example-drawing-modal-image {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.08);
    display: inline-block;
    height: auto;
    max-height: min(70vh, 560px);
    max-width: 100%;
    object-fit: contain;
}

.patent-form-detail .patent-field-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
}

.patent-form-detail .patent-field-card .patent-detail-value {
    background: #fff;
    border: 0;
    border-radius: 0;
    margin: 0;
    min-height: auto;
}

.patent-form-detail .patent-applicant-summary {
    align-items: center;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4fb 100%);
    border: 1px solid #e6ebf0;
    border-radius: 0.5rem;
    display: flex;
    gap: 0.9rem;
    padding: 1rem;
}

.patent-form-detail .patent-applicant-summary-body {
    flex: 1;
    min-width: 0;
}

.patent-form-detail .patent-applicant-summary-body h6 {
    color: #1f2d3d;
    font-weight: 700;
}

.patent-form-detail .patent-applicant-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.patent-form-detail .patent-applicant-chip {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid #dbe5f0;
    border-radius: 999px;
    color: #495057;
    font-size: 0.78rem;
    padding: 0.18rem 0.55rem;
}

.patent-form-detail .patent-template-documents-header {
    align-items: center;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4fb 100%);
    border-bottom: 1px solid #e1eaf3;
    color: #1f2d3d;
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
}

.patent-form-detail .patent-template-documents-header-icon {
    align-items: center;
    background: linear-gradient(135deg, #2563a8 0%, #4f8fd9 100%);
    border-radius: 0.45rem;
    color: #fff;
    display: inline-flex;
    flex: 0 0 2rem;
    font-size: 0.85rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.patent-form-detail .patent-template-documents-header-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.patent-form-detail .patent-template-documents-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
}

.patent-form-detail .patent-template-documents-subtitle {
    color: #6c757d;
    font-size: 0.74rem;
    margin-top: 0.1rem;
}

.patent-form-detail .patent-template-documents-count-badge {
    background: #fff;
    border: 1px solid #dbe2ea;
    color: #495057;
    font-size: 0.72rem;
    font-weight: 700;
}

.patent-form-detail .patent-template-documents-count-complete {
    background: #eaf7ee;
    border-color: #b8e0c4;
    color: #1f7a37;
}

.patent-form-detail .patent-template-documents-list {
    display: grid;
    gap: 0.55rem;
    padding: 0.85rem;
}

.patent-form-detail .patent-template-document-item {
    align-items: center;
    border: 1px solid #e6ebf0;
    border-radius: 0.45rem;
    display: flex;
    gap: 0.7rem;
    padding: 0.7rem 0.75rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.patent-form-detail .patent-template-document-item-uploaded {
    background: #fff;
}

.patent-form-detail .patent-template-document-item-uploaded:hover {
    border-color: #c5d5e8;
    box-shadow: 0 0.12rem 0.4rem rgba(37, 99, 168, 0.08);
}

.patent-form-detail .patent-template-document-item-missing {
    background: #fbfbfb;
    border-style: dashed;
}

.patent-form-detail .patent-template-document-icon-wrap {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 0.35rem;
}

.patent-form-detail .patent-template-document-type-icon {
    align-items: center;
    background: rgba(37, 99, 168, 0.1);
    border-radius: 0.4rem;
    color: #2563a8;
    display: inline-flex;
    font-size: 0.82rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.patent-form-detail .patent-template-document-item-missing .patent-template-document-type-icon {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.patent-form-detail .patent-template-document-pdf-icon {
    align-items: center;
    background: rgba(220, 53, 69, 0.12);
    border-radius: 0.4rem;
    color: #dc3545;
    display: inline-flex;
    font-size: 0.95rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.patent-form-detail .patent-template-document-item-missing .patent-template-document-pdf-icon {
    background: rgba(108, 117, 125, 0.08);
    color: #adb5bd;
}

.patent-form-detail .patent-template-document-body {
    flex: 1;
    min-width: 0;
}

.patent-form-detail .patent-template-document-title-row {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    justify-content: space-between;
}

.patent-form-detail .patent-template-document-title {
    color: #1f2d3d;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.35;
}

.patent-form-detail .patent-template-document-item-missing .patent-template-document-title {
    color: #6c757d;
}

.patent-form-detail .patent-template-document-status-badge {
    font-size: 0.68rem;
    font-weight: 600;
}

.patent-form-detail .patent-template-document-meta {
    align-items: center;
    color: #6c757d;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.72rem;
    gap: 0.35rem 0.55rem;
    margin-top: 0.2rem;
}

.patent-form-detail .patent-template-document-meta-missing {
    color: #9aa5b1;
    font-style: italic;
}

.patent-form-detail .patent-template-document-filename {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.patent-form-detail .patent-template-document-action {
    align-items: center;
    background: #fff;
    border: 1px solid #d7e0ea;
    border-radius: 0.35rem;
    color: #2563a8;
    display: inline-flex;
    flex: 0 0 1.85rem;
    font-size: 0.78rem;
    height: 1.85rem;
    justify-content: center;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.patent-form-detail .patent-template-document-action:hover {
    background: #2563a8;
    border-color: #2563a8;
    color: #fff;
    text-decoration: none;
}

.patent-form-detail .patent-template-document-action-disabled {
    background: #f1f3f5;
    border-color: #e1e5ea;
    color: #c2c9d1;
    cursor: default;
}

.patent-form-detail .patent-doc-link {
    word-break: break-all;
}

.patent-form-detail .patent-detail-nav {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #edf0f2;
    border-radius: 0.45rem;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding: 0.75rem;
}

.patent-form-detail .patent-detail-step-indicator {
    flex: 1;
    max-width: 220px;
    text-align: center;
}

.patent-form-detail .patent-detail-step-label {
    color: #6c757d;
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.patent-form-detail .patent-detail-progress {
    background: #e9edf2;
    border-radius: 999px;
    height: 0.35rem;
    overflow: hidden;
}

.patent-form-detail .patent-detail-progress-bar {
    background: linear-gradient(90deg, #2563a8 0%, #4f8fd9 100%);
    border-radius: 999px;
    height: 100%;
    transition: width 0.2s ease;
}

.patent-form-detail .patent-detail-nav .patent-detail-prev:disabled {
    opacity: 0;
    pointer-events: none;
}

.patent-form-detail .patent-detail-nav .patent-detail-next:disabled {
    opacity: 0.8;
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .patent-form-detail .patent-info-grid {
        grid-template-columns: 1fr;
    }

    .patent-form-detail .patent-detail-tabs .nav-link {
        padding: 0.75rem 0.65rem;
    }

    .patent-form-detail .patent-tab-subtitle {
        display: none;
    }

    .patent-form-detail .patent-applicant-summary {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}

.custom-file-label::after {
    content: "Dosya Seç";
}

.patent-documents-panel {
    border: 0;
    border-radius: 0.45rem;
    box-shadow: 0 0.15rem 0.5rem rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.patent-documents-header {
    background: #fff;
    border-bottom: 1px solid #edf0f2;
}

.patent-documents-header .card-title {
    align-items: center;
    color: #1f2d3d;
    display: flex;
    font-size: 0.95rem;
    font-weight: 600;
    gap: 0.5rem;
}

.patent-documents-header-icon {
    align-items: center;
    background: linear-gradient(135deg, #2563a8 0%, #4f8fd9 100%);
    border-radius: 0.45rem;
    color: #fff;
    display: inline-flex;
    flex: 0 0 1.75rem;
    font-size: 0.8rem;
    height: 1.75rem;
    justify-content: center;
    width: 1.75rem;
}

.patent-documents-count-badge {
    background: #f1f5f9;
    border: 1px solid #dbe2ea;
    color: #495057;
    font-size: 0.72rem;
    font-weight: 600;
}

.patent-documents-list {
    display: grid;
    gap: 0.45rem;
}

.patent-document-item {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e6ebf0;
    border-radius: 0.45rem;
    display: flex;
    gap: 0.65rem;
    padding: 0.6rem 0.65rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.patent-document-item:hover {
    background: #fff;
    border-color: #c5d5e8;
    box-shadow: 0 0.12rem 0.4rem rgba(37, 99, 168, 0.08);
    transform: translateY(-1px);
}

.patent-document-icon {
    align-items: center;
    border-radius: 0.4rem;
    display: inline-flex;
    flex: 0 0 2.25rem;
    font-size: 1.05rem;
    height: 2.25rem;
    justify-content: center;
    width: 2.25rem;
}

.patent-document-icon-pdf {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

.patent-document-icon-word {
    background: rgba(0, 123, 255, 0.12);
    color: #007bff;
}

.patent-document-icon-default {
    background: rgba(108, 117, 125, 0.12);
    color: #6c757d;
}

.patent-document-body {
    flex: 1;
    min-width: 0;
}

.patent-document-title {
    color: #1f2d3d;
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    word-break: break-word;
}

.patent-document-title:hover {
    color: #2563a8;
    text-decoration: none;
}

.patent-document-meta {
    align-items: center;
    color: #6c757d;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.72rem;
    gap: 0.35rem 0.55rem;
    margin-top: 0.15rem;
}

.patent-document-filename {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.patent-document-date i,
.patent-document-size {
    margin-right: 0.15rem;
}

.patent-document-size {
    background: #eef2f6;
    border-radius: 999px;
    color: #5c6773;
    font-size: 0.68rem;
    padding: 0.05rem 0.4rem;
}

.patent-document-action {
    align-items: center;
    background: #fff;
    border: 1px solid #d7e0ea;
    border-radius: 0.35rem;
    color: #2563a8;
    display: inline-flex;
    flex: 0 0 1.85rem;
    font-size: 0.78rem;
    height: 1.85rem;
    justify-content: center;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.patent-document-action:hover {
    background: #2563a8;
    border-color: #2563a8;
    color: #fff;
    text-decoration: none;
}

.patent-documents-empty {
    align-items: center;
    background: #f8fafc;
    border: 1px dashed #dbe2ea;
    border-radius: 0.45rem;
    color: #6c757d;
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    gap: 0.35rem;
    justify-content: center;
    padding: 1.1rem 0.75rem;
    text-align: center;
}

.patent-documents-empty i {
    color: #9aa5b1;
    font-size: 1.35rem;
}

.patent-documents-pagination .btn {
    font-size: 0.75rem;
    min-width: 2rem;
    padding: 0.2rem 0.45rem;
}

.patent-documents-pagination small {
    font-size: 0.72rem;
}

.patent-documents-upload {
    background: linear-gradient(180deg, #f8fbff 0%, #f3f7fb 100%);
    border: 1px solid #e1eaf3;
    border-radius: 0.45rem;
    padding: 0.75rem;
}

.patent-documents-upload-separated {
    margin-bottom: 0.85rem;
}

.patent-documents-upload-header {
    align-items: center;
    color: #1f4d73;
    display: flex;
    font-size: 0.82rem;
    font-weight: 600;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

.patent-documents-upload-header i {
    color: #2563a8;
}

.patent-documents-upload-label {
    color: #6c757d;
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.patent-documents-upload-form .form-control,
.patent-documents-upload-form .custom-file-label {
    border-color: #dfe5ec;
    font-size: 0.85rem;
}

.patent-documents-upload-btn {
    font-weight: 600;
    margin-top: 0.15rem;
}

.patent-detail-page .patent-detail-application-card {
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 0.2rem 0.75rem rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.patent-detail-hero {
    align-items: flex-start;
    background: linear-gradient(135deg, #15324b 0%, #1f4d73 55%, #2563a8 100%);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.25rem 1.35rem;
}

.patent-detail-sequence-no {
    background: rgba(255, 193, 7, 0.18);
    border: 1px solid rgba(255, 193, 7, 0.45);
    border-radius: 999px;
    color: #ffd86b;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 0.45rem;
    padding: 0.15rem 0.55rem;
}

.patent-detail-title {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 0.5rem;
}

.patent-detail-hero-meta {
    color: rgba(255, 255, 255, 0.78);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.8rem;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.patent-detail-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.patent-detail-chip {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

a.patent-detail-chip-word {
    background: rgba(255, 193, 7, 0.18);
    border-color: rgba(255, 193, 7, 0.45);
    color: #ffd86b;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

a.patent-detail-chip-word:hover {
    background: rgba(255, 193, 7, 0.28);
    border-color: rgba(255, 214, 102, 0.72);
    color: #ffe699;
    text-decoration: none;
    transform: translateY(-1px);
}

a.patent-detail-chip-word:focus {
    color: #ffe699;
    outline: none;
    text-decoration: none;
}

.patent-status-badge {
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    max-width: 220px;
    padding: 0.35rem 0.75rem;
    text-align: center;
    white-space: normal;
}

.patent-status-badge-success { background: #28a745; color: #fff; }
.patent-status-badge-danger { background: #dc3545; color: #fff; }
.patent-status-badge-warning { background: #ffc107; color: #1f2d3d; }
.patent-status-badge-primary { background: #007bff; color: #fff; }
.patent-status-badge-info { background: #17a2b8; color: #fff; }
.patent-status-badge-secondary { background: #6c757d; color: #fff; }

.patent-detail-info-card {
    border: 1px solid #e9edf2;
    border-radius: 0.4rem;
    box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.patent-detail-info-card-header {
    align-items: center;
    background: #f8fafc;
    border-bottom: 1px solid #e9edf2;
    color: #1f2d3d;
    display: flex;
    font-size: 0.88rem;
    font-weight: 600;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
}

.patent-detail-info-card-header i {
    color: #2563a8;
    width: 1rem;
}

.patent-detail-info-item {
    margin-bottom: 0.65rem;
}

.patent-detail-info-label {
    color: #6c757d;
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
}

.patent-detail-info-value {
    color: #343a40;
    display: block;
    font-size: 0.88rem;
    line-height: 1.4;
    word-break: break-word;
}

.patent-detail-stat-line {
    align-items: center;
    border-bottom: 1px dashed #edf0f2;
    color: #6c757d;
    display: flex;
    font-size: 0.82rem;
    justify-content: space-between;
    margin-bottom: 0.45rem;
    padding-bottom: 0.35rem;
}

.patent-detail-stat-line strong {
    color: #1f2d3d;
    font-size: 0.95rem;
}

.patent-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.patent-detail-status-card,
.process-history-card,
.patent-detail-payments-card {
    border: 0;
    border-radius: 0.45rem;
    box-shadow: 0 0.15rem 0.5rem rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.patent-detail-status-card .card-header,
.process-history-card .card-header,
.patent-detail-payments-card .card-header {
    background: #fff;
    border-bottom: 1px solid #edf0f2;
}

.patent-detail-status-card .card-title,
.process-history-title,
.patent-detail-payments-card .card-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.patent-detail-status-label {
    color: #6c757d;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.patent-detail-status-card .form-control {
    border-color: #dfe5ec;
    font-size: 0.85rem;
}

.patent-detail-status-card .current-status-input {
    background: #f8fafc;
    font-weight: 600;
}

.patent-detail-status-card .card-footer {
    background: #fff;
    border-top: 1px solid #edf0f2;
}

.patent-detail-status-card .status-submit-button {
    font-weight: 600;
}

.process-history-list {
    display: grid;
    gap: 0.35rem;
}

.process-history-item {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #e9edf2;
    border-radius: 0.35rem;
    display: flex;
    gap: 0.5rem;
    padding: 0.45rem 0.55rem;
}

.process-history-marker {
    background: #2563a8;
    border-radius: 999px;
    flex: 0 0 0.45rem;
    height: 0.45rem;
    margin-top: 0.35rem;
    width: 0.45rem;
}

.process-history-content {
    min-width: 0;
    width: 100%;
}

.process-history-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    line-height: 1.3;
}

.process-history-status {
    background: #1f2d3d;
    border-radius: 999px;
    color: #fff;
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.12rem 0.45rem;
}

.process-history-date {
    color: #6c757d;
    font-size: 0.78rem;
}

.process-history-note {
    color: #495057;
    font-size: 0.78rem;
    line-height: 1.35;
    margin-top: 0.2rem;
    white-space: pre-wrap;
}

.empty-process-history {
    align-items: center;
    color: #6c757d;
    display: flex;
    font-size: 0.85rem;
    gap: 0.4rem;
    justify-content: center;
    padding: 0.75rem;
}

.process-history-pagination .btn {
    font-size: 0.75rem;
    min-width: 2rem;
    padding: 0.2rem 0.45rem;
}

.process-history-pagination small {
    font-size: 0.72rem;
}

.patent-process-timeline-card {
    border: 1px solid #e6ebf0;
    border-radius: 0.5rem;
    box-shadow: 0 0.15rem 0.45rem rgba(31, 45, 61, 0.05);
    overflow: hidden;
}

.patent-process-timeline-card .card-header {
    background: linear-gradient(135deg, #f8fbff 0%, #eef4fb 100%);
    border-bottom: 1px solid #e6ebf0;
}

.patent-process-timeline-card .card-title {
    font-size: 0.92rem;
    font-weight: 700;
}

.patent-process-timeline-current-badge {
    background: #1a3a6c;
    border-radius: 999px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.3;
    max-width: min(100%, 22rem);
    overflow: hidden;
    padding: 0.2rem 0.55rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.patent-process-timeline {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 0.35rem 0.25rem 0.15rem;
    scrollbar-width: thin;
}

.patent-process-timeline-item {
    align-items: center;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    min-width: 4.75rem;
    position: relative;
    text-align: center;
}

.patent-process-timeline-track {
    align-items: center;
    display: flex;
    height: 1.65rem;
    justify-content: center;
    margin-bottom: 0.35rem;
    position: relative;
    width: 100%;
}

.patent-process-timeline-marker {
    align-items: center;
    background: #fff;
    border: 2px solid #d5dde8;
    border-radius: 999px;
    color: #6c757d;
    display: inline-flex;
    flex: 0 0 1.65rem;
    font-size: 0.65rem;
    height: 1.65rem;
    justify-content: center;
    position: relative;
    width: 1.65rem;
    z-index: 1;
}

.patent-process-timeline-line {
    background: #d5dde8;
    height: 2px;
    left: calc(50% + 0.85rem);
    position: absolute;
    right: calc(-50% + 0.85rem);
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.patent-process-timeline-item.is-completed .patent-process-timeline-marker {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

.patent-process-timeline-item.is-completed .patent-process-timeline-line {
    background: #28a745;
}

.patent-process-timeline-item.is-current .patent-process-timeline-marker {
    background: #2563a8;
    border-color: #2563a8;
    box-shadow: 0 0 0 0.18rem rgba(37, 99, 168, 0.16);
    color: #fff;
}

.patent-process-timeline-item.is-current .patent-process-timeline-line {
    background: linear-gradient(90deg, #2563a8 0%, #d5dde8 100%);
}

.patent-process-timeline-item.is-failed .patent-process-timeline-marker {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.patent-process-timeline-item.is-revised .patent-process-timeline-marker {
    background: #fff8e6;
    border-color: #e0a800;
    color: #b8860b;
}

.patent-process-timeline-item.is-revised .patent-process-timeline-line {
    background: repeating-linear-gradient(
        90deg,
        #e0a800 0,
        #e0a800 4px,
        transparent 4px,
        transparent 8px
    );
}

.patent-process-timeline-item.is-upcoming .patent-process-timeline-marker {
    background: #f8fafc;
    color: #9aa5b1;
}

.patent-process-timeline-copy {
    max-width: 100%;
    padding: 0 0.15rem;
}

.patent-process-timeline-title {
    color: #1f2d3d;
    display: -webkit-box;
    font-size: 0.68rem;
    font-weight: 700;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.25;
    margin: 0 auto;
    max-width: 5.5rem;
    overflow: hidden;
}

.patent-process-timeline-item.is-current .patent-process-timeline-title {
    color: #2563a8;
}

.patent-process-timeline-item.is-failed .patent-process-timeline-title {
    color: #b02a37;
}

.patent-process-timeline-item.is-revised .patent-process-timeline-title {
    color: #b8860b;
}

.patent-process-timeline-item.is-upcoming .patent-process-timeline-title {
    color: #8a96a3;
}

.patent-process-timeline-date {
    color: #6c757d;
    display: block;
    font-size: 0.64rem;
    line-height: 1.2;
    margin-top: 0.12rem;
}

.patent-process-timeline-date-current {
    color: #2563a8;
    font-weight: 700;
}

.patent-process-timeline-date-revised {
    color: #b8860b;
    font-weight: 700;
}

.patent-process-timeline-date-muted {
    color: #c5ced8;
}

@media (max-width: 767.98px) {
    .patent-process-timeline-item {
        flex: 0 0 auto;
        min-width: 5.25rem;
    }
}

.patent-detail-payments-table thead th {
    background: #f8fafc;
    border-top: 0;
    color: #6c757d;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.patent-detail-page .patent-form-detail {
    border: 0;
    border-radius: 0.45rem;
    box-shadow: 0 0.15rem 0.5rem rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.patent-detail-main-wizard {
    background: #fff;
    border: 1px solid #e4ebf3;
    border-radius: 0.65rem;
    box-shadow: 0 0.2rem 0.85rem rgba(15, 23, 42, 0.08);
    margin-bottom: 1rem;
    overflow: hidden;
}

.patent-detail-main-wizard-stepper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: stretch;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eef4ff 100%);
    border-bottom: 1px solid #e2e8f0;
}

.patent-detail-main-wizard-step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    min-height: 4.6rem;
    padding: 0.85rem 1rem;
    border: 1px solid #dbe4ef;
    border-radius: 0.7rem;
    background: #fff;
    color: #334155;
    text-align: left;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.patent-detail-main-wizard-step:hover {
    border-color: #93c5fd;
    box-shadow: 0 0.35rem 0.95rem rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.patent-detail-main-wizard-step.is-active {
    border-color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
    box-shadow: 0 0.45rem 1rem rgba(37, 99, 235, 0.14);
}

.patent-detail-main-wizard-step.is-complete:not(.is-active) {
    border-color: #86efac;
    background: linear-gradient(135deg, #f7fef9 0%, #f0fdf4 100%);
}

.patent-detail-main-wizard-step.is-pending:not(.is-active) {
    border-style: dashed;
    border-color: #cbd5e1;
    background: #f8fafc;
}

.patent-detail-main-wizard-step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 800;
    flex-shrink: 0;
}

.patent-detail-main-wizard-step.is-active .patent-detail-main-wizard-step-no {
    background: #2563eb;
    color: #fff;
}

.patent-detail-main-wizard-step.is-complete:not(.is-active) .patent-detail-main-wizard-step-no {
    background: #16a34a;
    color: #fff;
}

.patent-detail-main-wizard-step-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.patent-detail-main-wizard-step-title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.25;
}

.patent-detail-main-wizard-step-subtitle {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 0.15rem;
}

.patent-detail-main-wizard-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.55rem;
    background: #eef2ff;
    color: #2563eb;
    flex-shrink: 0;
}

.patent-detail-main-wizard-step.is-active .patent-detail-main-wizard-step-icon {
    background: #2563eb;
    color: #fff;
}

.patent-detail-main-wizard-step.is-complete:not(.is-active) .patent-detail-main-wizard-step-icon {
    background: #dcfce7;
    color: #16a34a;
}

.patent-detail-main-wizard-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    color: #94a3b8;
    padding-top: 1.35rem;
}

.patent-detail-main-wizard-connector-line {
    display: block;
    width: 1.4rem;
    height: 2px;
    background: #cbd5e1;
    border-radius: 999px;
}

.patent-detail-main-wizard-panels {
    background: #f8fafc;
}

.patent-detail-main-wizard-pane {
    display: none;
    padding: 0.85rem;
}

.patent-detail-main-wizard-pane.is-active {
    display: block;
}

.patent-detail-main-wizard .patent-form-detail,
.patent-detail-main-wizard .patent-turk-registration-card-embedded {
    margin-top: 0;
    box-shadow: none;
}

.patent-detail-main-wizard-empty {
    align-items: center;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 0.65rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
    padding: 2rem 1.25rem;
    text-align: center;
}

.patent-detail-main-wizard-empty-icon {
    align-items: center;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-radius: 999px;
    color: #c2410c;
    display: inline-flex;
    font-size: 1.5rem;
    height: 4rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 4rem;
}

.patent-detail-main-wizard-empty-title {
    color: #1e293b;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.patent-detail-main-wizard-empty-text {
    color: #64748b;
    font-size: 0.86rem;
    max-width: 34rem;
}

@media (max-width: 991.98px) {
    .patent-detail-main-wizard-stepper {
        grid-template-columns: 1fr;
    }

    .patent-detail-main-wizard-connector {
        display: none;
    }

    .patent-detail-main-wizard-step-subtitle {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .patent-detail-main-wizard-step-icon {
        display: none;
    }
}

.patent-turk-registration-card-embedded {
    border: 1px solid #e2e8f0;
    border-radius: 0.55rem;
    overflow: hidden;
}

.turk-patent-modal .modal-content,
#turkPatentRegistrationModal .modal-content {
    border: 0;
    border-radius: 0.65rem;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 1rem);
    overflow: hidden;
    pointer-events: auto;
}

#turkPatentRegistrationModal.modal,
body.modal-open #turkPatentRegistrationModal.modal {
    overflow: hidden !important;
}

#turkPatentRegistrationModal {
    z-index: 1060;
}

#turkPatentRegistrationModal .modal-dialog {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 1rem);
    margin: 0.5rem auto;
    pointer-events: auto;
}

#turkPatentRegistrationForm {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
}

.turk-patent-modal-header {
    align-items: flex-start;
    background: linear-gradient(135deg, #15324b 0%, #1f4d73 55%, #2563a8 100%);
    border-bottom: 0;
    color: #fff;
    flex-shrink: 0;
}

.turk-patent-modal-subtitle {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
}

.turk-patent-modal-body {
    background: #f4f7fb;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
    touch-action: pan-y;
}

.turk-patent-modal-footer {
    background: #fff;
    border-top: 1px solid #edf2f7;
    flex-shrink: 0;
}

.turk-patent-modal-section {
    background: #fff;
    border: 1px solid #e1eaf3;
    border-radius: 0.55rem;
    box-shadow: 0 0.08rem 0.35rem rgba(15, 23, 42, 0.04);
    margin-bottom: 0.85rem;
    padding: 0.9rem;
}

.turk-patent-modal-section-header {
    align-items: center;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
}

.turk-patent-modal-section-icon {
    align-items: center;
    background: #2563a8;
    border-radius: 0.45rem;
    color: #fff;
    display: inline-flex;
    flex: 0 0 2rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.turk-patent-modal-section-icon-success { background: #28a745; }
.turk-patent-modal-section-icon-info { background: #17a2b8; }
.turk-patent-modal-section-icon-warning { background: #f0ad4e; }

.turk-patent-label {
    color: #6c757d;
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.turk-patent-radio-options {
    padding-top: 0.15rem;
}

.turk-patent-radio-options .custom-control-label {
    font-size: 0.85rem;
}

.turk-patent-repeatable-list,
.turk-patent-inventor-list,
.turk-patent-fee-list {
    display: grid;
    gap: 0.35rem;
}

.turk-patent-fees-empty {
    align-items: center;
    background: #fffaf2;
    border: 1px dashed #f0d9a6;
    border-radius: 0.4rem;
    color: #8a6d3b;
    display: flex;
    font-size: 0.78rem;
    gap: 0.45rem;
    justify-content: center;
    padding: 0.55rem 0.65rem;
    text-align: center;
}

.turk-patent-fees-empty-icon {
    color: #d48806;
    font-size: 0.9rem;
}

.turk-patent-fees-empty-text {
    line-height: 1.35;
}

.turk-patent-fee-card {
    background: #fffdf8;
    border: 1px solid #f0e2c8;
    border-left: 3px solid #f0ad4e;
    border-radius: 0.4rem;
    padding: 0.45rem 0.5rem 0.5rem;
}

.turk-patent-fee-row-main {
    align-items: end;
    display: grid;
    gap: 0.35rem 0.4rem;
    grid-template-columns: auto minmax(0, 1.6fr) 6.5rem minmax(0, 1fr) auto;
}

.turk-patent-fee-badge {
    align-self: end;
    background: #fff1d6;
    border-radius: 0.3rem;
    color: #9a6700;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.2rem;
    min-width: 1.35rem;
    padding: 0.28rem 0.35rem;
    text-align: center;
}

.turk-patent-fee-field-label {
    color: #8a6d3b;
    display: block;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
}

.turk-patent-fee-field .form-control,
.turk-patent-fee-field .custom-file-label {
    font-size: 0.78rem;
}

.turk-patent-fee-field-amount .input-group-text {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
}

.turk-patent-fee-field-file .custom-file-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.turk-patent-remove-fee-btn {
    align-self: end;
    height: calc(1.5em + 0.5rem + 2px);
    line-height: 1;
    margin-bottom: 0.1rem;
    padding: 0.15rem 0.4rem;
}

.turk-patent-existing-receipt-link {
    color: #6c757d;
    display: inline-block;
    font-size: 0.72rem;
    margin-top: 0.3rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.turk-patent-fee-other-title {
    margin-top: 0.35rem;
}

.turk-patent-fee-other-title .form-control {
    font-size: 0.78rem;
}

@media (max-width: 991.98px) {
    .turk-patent-fee-row-main {
        grid-template-columns: 1fr 1fr;
    }

    .turk-patent-fee-badge {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        margin-bottom: 0;
    }

    .turk-patent-remove-fee-btn {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        justify-self: end;
        margin: 0;
    }

    .turk-patent-fee-field-type {
        grid-column: 1 / 3;
        grid-row: 2;
    }

    .turk-patent-fee-field-amount {
        grid-column: 1;
        grid-row: 3;
    }

    .turk-patent-fee-field-file {
        grid-column: 2;
        grid-row: 3;
    }
}

.turk-patent-repeatable-item {
    align-items: flex-end;
    background: #f8fafc;
    border: 1px solid #e6ebf0;
    border-radius: 0.45rem;
    display: flex;
    gap: 0.55rem;
    padding: 0.65rem;
}

.turk-patent-inventor-card {
    background: #f8fafc;
    border: 1px solid #e6ebf0;
    border-radius: 0.45rem;
    padding: 0.7rem;
}

.turk-patent-inventor-card-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.55rem;
}

.turk-patent-inventor-badge {
    background: #e8f1fb;
    border-radius: 999px;
    color: #1f4d73;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
}

@media (max-width: 991.98px) {
    .turk-patent-inventor-card .form-group {
        margin-bottom: 0.65rem;
    }
}

.patent-turk-registration-card {
    border: 0;
    border-radius: 0.55rem;
    box-shadow: 0 0.2rem 0.75rem rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.patent-turk-registration-hero {
    align-items: flex-start;
    background: linear-gradient(135deg, #4a3206 0%, #8a5a12 45%, #c48a1a 100%);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.15rem 1.25rem;
}

.patent-turk-registration-eyebrow {
    color: rgba(255, 255, 255, 0.82);
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.patent-turk-registration-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.patent-turk-registration-subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem;
}

.patent-turk-registration-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.patent-turk-registration-edit-btn {
    margin-left: auto;
}

.patent-turk-registration-badge {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
}

.patent-turk-registration-badge-gold {
    background: rgba(255, 241, 214, 0.22);
    border-color: rgba(255, 224, 170, 0.45);
}

.patent-turk-registration-body {
    background: #f7f9fc;
    padding: 1rem;
}

.patent-turk-registration-section {
    background: #fff;
    border: 1px solid #e4ebf3;
    border-radius: 0.5rem;
    box-shadow: 0 0.08rem 0.3rem rgba(15, 23, 42, 0.04);
    margin-bottom: 0.85rem;
    padding: 0.9rem;
}

.patent-turk-registration-section-title {
    align-items: center;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
}

.patent-turk-registration-section-title h5 {
    font-size: 0.95rem;
    font-weight: 700;
}

.patent-turk-registration-section-icon {
    align-items: center;
    background: #2563a8;
    border-radius: 0.45rem;
    color: #fff;
    display: inline-flex;
    flex: 0 0 2rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.patent-turk-registration-section-icon-success { background: #28a745; }
.patent-turk-registration-section-icon-info { background: #17a2b8; }
.patent-turk-registration-section-icon-warning { background: #f0ad4e; }

.patent-turk-registration-detail-panel {
    border-radius: 0.55rem;
    overflow: hidden;
}

.patent-turk-registration-detail-panel-general {
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
    border: 1px solid #d7e7fb;
}

.patent-turk-registration-detail-panel-applicants {
    background: linear-gradient(180deg, #f7fcf8 0%, #fff 100%);
    border: 1px solid #cfe9d4;
}

.patent-turk-registration-detail-panel-inventors {
    background: linear-gradient(180deg, #f4fbfc 0%, #fff 100%);
    border: 1px solid #c8e9ee;
}

.patent-turk-registration-detail-summary {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0.75rem;
}

.patent-turk-registration-detail-panel-applicants .patent-turk-registration-detail-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.patent-turk-registration-detail-stat {
    align-items: center;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 0.45rem;
    display: flex;
    gap: 0.55rem;
    min-width: 0;
    padding: 0.55rem 0.65rem;
}

.patent-turk-registration-detail-panel-general .patent-turk-registration-detail-stat {
    border-color: #dbeafe;
}

.patent-turk-registration-detail-panel-applicants .patent-turk-registration-detail-stat {
    border-color: #d4edda;
}

.patent-turk-registration-detail-panel-inventors .patent-turk-registration-detail-stat {
    border-color: #bee5eb;
}

.patent-turk-registration-detail-stat-highlight {
    background: linear-gradient(135deg, #eef5ff 0%, #f8fbff 100%);
}

.patent-turk-registration-detail-panel-applicants .patent-turk-registration-detail-stat-highlight {
    background: linear-gradient(135deg, #edf9f0 0%, #f8fffa 100%);
}

.patent-turk-registration-detail-panel-inventors .patent-turk-registration-detail-stat-highlight {
    background: linear-gradient(135deg, #e8f7fa 0%, #f4fcfd 100%);
}

.patent-turk-registration-detail-stat-icon {
    align-items: center;
    background: #eef5ff;
    border-radius: 0.4rem;
    color: #2563a8;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.85rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.patent-turk-registration-detail-panel-applicants .patent-turk-registration-detail-stat-icon {
    background: #e8f5ea;
    color: #1e7e34;
}

.patent-turk-registration-detail-panel-inventors .patent-turk-registration-detail-stat-icon {
    background: #e3f4f7;
    color: #117a8b;
}

.patent-turk-registration-detail-stat-value {
    color: #1f2d3d;
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.patent-turk-registration-detail-stat-label {
    color: #6c757d;
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.patent-turk-registration-detail-table {
    border-top: 1px solid #e8edf3;
}

.patent-turk-registration-detail-panel-general .patent-turk-registration-detail-table {
    border-top-color: #dbeafe;
}

.patent-turk-registration-detail-panel-applicants .patent-turk-registration-detail-table {
    border-top-color: #d4edda;
}

.patent-turk-registration-detail-panel-inventors .patent-turk-registration-detail-table {
    border-top-color: #bee5eb;
}

.patent-turk-registration-detail-table-head,
.patent-turk-registration-detail-row {
    align-items: center;
    display: grid;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem;
}

.patent-turk-registration-detail-table-head-general,
.patent-turk-registration-detail-table-head-general + .patent-turk-registration-detail-row,
.patent-turk-registration-detail-table-head-general ~ .patent-turk-registration-detail-row {
    grid-template-columns: 2rem minmax(0, 1fr) minmax(0, 1.2fr);
}

.patent-turk-registration-detail-table-head-applicants,
.patent-turk-registration-detail-table-head-applicants + .patent-turk-registration-detail-row,
.patent-turk-registration-detail-table-head-applicants ~ .patent-turk-registration-detail-row {
    grid-template-columns: 2rem minmax(0, 1.5fr) 5.5rem;
}

.patent-turk-registration-detail-table-head-inventors,
.patent-turk-registration-detail-row-inventor {
    grid-template-columns: 2rem minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
}

.patent-turk-registration-detail-table-head {
    background: #f8fafc;
    border-bottom: 1px solid #e8edf3;
    color: #5c6f82;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.patent-turk-registration-detail-table-head-general {
    background: #f3f8ff;
    border-bottom-color: #dbeafe;
    color: #3b5f86;
}

.patent-turk-registration-detail-table-head-applicants {
    background: #f3faf4;
    border-bottom-color: #d4edda;
    color: #2f6b3d;
}

.patent-turk-registration-detail-table-head-inventors {
    background: #f2fafb;
    border-bottom-color: #bee5eb;
    color: #2b6a74;
}

.patent-turk-registration-detail-row {
    border-bottom: 1px solid #f1f4f8;
    transition: background-color 0.15s ease;
}

.patent-turk-registration-detail-row:last-child {
    border-bottom: 0;
}

.patent-turk-registration-detail-row:hover {
    background: #fafcff;
}

.patent-turk-registration-detail-panel-applicants .patent-turk-registration-detail-row:hover {
    background: #f8fff9;
}

.patent-turk-registration-detail-panel-inventors .patent-turk-registration-detail-row:hover {
    background: #f7fdfe;
}

.patent-turk-registration-detail-field-icon,
.patent-turk-registration-detail-index {
    align-items: center;
    border-radius: 0.35rem;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    height: 1.65rem;
    justify-content: center;
    width: 1.65rem;
}

.patent-turk-registration-detail-field-icon {
    background: #eef5ff;
    color: #2563a8;
    font-size: 0.78rem;
}

.patent-turk-registration-detail-index {
    background: #e8f0fa;
    color: #1f4d73;
}

.patent-turk-registration-detail-index-success {
    background: #e8f5ea;
    color: #1e7e34;
}

.patent-turk-registration-detail-index-info {
    background: #e3f4f7;
    color: #117a8b;
}

.patent-turk-registration-detail-field-label {
    color: #5c6f82;
    font-size: 0.8rem;
    font-weight: 600;
}

.patent-turk-registration-detail-field-value {
    color: #1f2d3d;
    font-size: 0.84rem;
    font-weight: 700;
    text-align: right;
    word-break: break-word;
}

.patent-turk-registration-status-badge {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.18rem 0.55rem;
}

.patent-turk-registration-status-badge-success {
    background: #d4edda;
    color: #155724;
}

.patent-turk-registration-status-badge-muted {
    background: #e9ecef;
    color: #6c757d;
}

.patent-turk-registration-status-badge-neutral {
    background: #f1f3f5;
    color: #868e96;
}

.patent-turk-registration-status-badge-warning {
    background: #fff3cd;
    color: #856404;
}

.patent-turk-registration-detail-texts {
    border-top: 1px solid #dbeafe;
    display: grid;
    gap: 0.55rem;
    padding: 0.75rem;
}

.patent-turk-registration-detail-text-card {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 0.45rem;
    padding: 0.7rem 0.8rem;
}

.patent-turk-registration-detail-text-head {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.patent-turk-registration-detail-text-icon {
    align-items: center;
    background: #eef5ff;
    border-radius: 0.35rem;
    color: #2563a8;
    display: inline-flex;
    font-size: 0.75rem;
    height: 1.6rem;
    justify-content: center;
    width: 1.6rem;
}

.patent-turk-registration-detail-text-label {
    color: #3b5f86;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.patent-turk-registration-detail-text-value {
    color: #1f2d3d;
    font-size: 0.86rem;
    line-height: 1.55;
    white-space: pre-wrap;
}

.patent-turk-registration-detail-person {
    align-items: center;
    display: flex;
    gap: 0.6rem;
    min-width: 0;
}

.patent-turk-registration-detail-avatar {
    align-items: center;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 700;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.patent-turk-registration-detail-avatar-success {
    background: linear-gradient(135deg, #1e7e34, #28a745);
}

.patent-turk-registration-detail-avatar-info {
    background: linear-gradient(135deg, #117a8b, #17a2b8);
}

.patent-turk-registration-detail-person-copy {
    min-width: 0;
}

.patent-turk-registration-detail-person-name {
    color: #1f2d3d;
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.3;
}

.patent-turk-registration-detail-person-meta {
    color: #6c757d;
    display: block;
    font-size: 0.72rem;
    line-height: 1.35;
}

.patent-turk-registration-detail-order-pill {
    background: #edf9f0;
    border: 1px solid #cfe9d4;
    border-radius: 999px;
    color: #1e7e34;
    font-size: 0.72rem;
    font-weight: 700;
    justify-self: end;
    padding: 0.22rem 0.55rem;
    text-align: center;
    white-space: nowrap;
}

.patent-turk-registration-detail-unit-value {
    color: #1f2d3d;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
    word-break: break-word;
}

@media (max-width: 991.98px) {
    .patent-turk-registration-detail-summary {
        grid-template-columns: 1fr;
    }

    .patent-turk-registration-detail-table-head {
        display: none;
    }

    .patent-turk-registration-detail-table-head-general + .patent-turk-registration-detail-row,
    .patent-turk-registration-detail-table-head-general ~ .patent-turk-registration-detail-row {
        gap: 0.45rem 0.55rem;
        grid-template-columns: 2rem 1fr;
    }

    .patent-turk-registration-detail-field-value {
        grid-column: 2;
        text-align: left;
    }

    .patent-turk-registration-detail-table-head-applicants + .patent-turk-registration-detail-row,
    .patent-turk-registration-detail-table-head-applicants ~ .patent-turk-registration-detail-row {
        grid-template-columns: 2rem 1fr auto;
    }

    .patent-turk-registration-detail-person {
        grid-column: 2 / 4;
    }

    .patent-turk-registration-detail-order-pill {
        grid-column: 3;
        grid-row: 1;
    }

    .patent-turk-registration-detail-row-inventor {
        gap: 0.45rem 0.55rem;
        grid-template-columns: 2rem 1fr 1fr;
    }

    .patent-turk-registration-detail-row-inventor .patent-turk-registration-detail-person {
        grid-column: 2 / 4;
        grid-row: 1;
    }

    .patent-turk-registration-detail-row-inventor .patent-turk-registration-detail-unit-value:first-of-type {
        grid-column: 2;
    }

    .patent-turk-registration-detail-row-inventor .patent-turk-registration-detail-unit-value:last-of-type {
        grid-column: 3;
    }
}

@media (max-width: 767.98px) {
    .patent-turk-registration-detail-table-head-general + .patent-turk-registration-detail-row,
    .patent-turk-registration-detail-table-head-general ~ .patent-turk-registration-detail-row,
    .patent-turk-registration-detail-table-head-applicants + .patent-turk-registration-detail-row,
    .patent-turk-registration-detail-table-head-applicants ~ .patent-turk-registration-detail-row,
    .patent-turk-registration-detail-row-inventor {
        grid-template-columns: 1fr;
    }

    .patent-turk-registration-detail-field-icon,
    .patent-turk-registration-detail-index,
    .patent-turk-registration-detail-field-label,
    .patent-turk-registration-detail-field-value,
    .patent-turk-registration-detail-person,
    .patent-turk-registration-detail-order-pill,
    .patent-turk-registration-detail-unit-value {
        grid-column: 1;
        grid-row: auto;
    }

    .patent-turk-registration-detail-field-value,
    .patent-turk-registration-detail-order-pill {
        justify-self: start;
    }
}

.patent-turk-registration-fees-panel {
    background: linear-gradient(180deg, #fffdf8 0%, #fff 100%);
    border: 1px solid #f0e2c8;
    border-radius: 0.55rem;
    overflow: hidden;
}

.patent-turk-registration-fees-summary {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0.75rem;
}

.patent-turk-registration-fees-stat {
    align-items: center;
    background: #fff;
    border: 1px solid #f3e6cf;
    border-radius: 0.45rem;
    display: flex;
    gap: 0.55rem;
    min-width: 0;
    padding: 0.55rem 0.65rem;
}

.patent-turk-registration-fees-stat-total {
    background: linear-gradient(135deg, #fff8e8 0%, #fff3d6 100%);
    border-color: #e8c98a;
}

.patent-turk-registration-fees-stat-icon {
    align-items: center;
    background: #fff4df;
    border-radius: 0.4rem;
    color: #c48a1a;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.85rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.patent-turk-registration-fees-stat-total .patent-turk-registration-fees-stat-icon {
    background: #ffe8b3;
    color: #8a5a12;
}

.patent-turk-registration-fees-stat-value {
    color: #1f2d3d;
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
}

.patent-turk-registration-fees-stat-total .patent-turk-registration-fees-stat-value {
    color: #8a5a12;
}

.patent-turk-registration-fees-stat-label {
    color: #7a6a52;
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.patent-turk-registration-fee-table {
    border-top: 1px solid #f0e2c8;
}

.patent-turk-registration-fee-table-head,
.patent-turk-registration-fee-row {
    align-items: center;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: 2rem minmax(0, 1.6fr) 7.5rem minmax(0, 1fr);
    padding: 0.55rem 0.85rem;
}

.patent-turk-registration-fee-table-head {
    background: #faf6ee;
    border-bottom: 1px solid #f0e2c8;
    color: #8a6d3b;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.patent-turk-registration-fee-row {
    border-bottom: 1px solid #f7f0e4;
    transition: background-color 0.15s ease;
}

.patent-turk-registration-fee-row:last-child {
    border-bottom: 0;
}

.patent-turk-registration-fee-row:hover {
    background: #fffaf2;
}

.patent-turk-registration-fee-index {
    align-items: center;
    background: #fff1d6;
    border-radius: 0.35rem;
    color: #9a6700;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    height: 1.65rem;
    justify-content: center;
    width: 1.65rem;
}

.patent-turk-registration-fee-info {
    align-items: center;
    display: flex;
    gap: 0.6rem;
    min-width: 0;
}

.patent-turk-registration-fee-icon {
    align-items: center;
    background: linear-gradient(135deg, #fff4df 0%, #ffe8b8 100%);
    border: 1px solid #f0d9a6;
    border-radius: 0.45rem;
    color: #b7791f;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.82rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.patent-turk-registration-fee-copy {
    min-width: 0;
}

.patent-turk-registration-fee-label {
    color: #1f2d3d;
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.3;
}

.patent-turk-registration-fee-note {
    color: #7a6a52;
    display: block;
    font-size: 0.74rem;
    line-height: 1.35;
    margin-top: 0.1rem;
}

.patent-turk-registration-fee-amount-wrap {
    align-items: baseline;
    display: flex;
    gap: 0.2rem;
    justify-content: flex-end;
}

.patent-turk-registration-fee-amount {
    color: #9a6700;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.patent-turk-registration-fee-currency {
    color: #c48a1a;
    font-size: 0.78rem;
    font-weight: 700;
}

.patent-turk-registration-fee-amount-muted {
    color: #adb5bd;
    font-size: 0.9rem;
    font-weight: 600;
}

.patent-turk-registration-fee-doc {
    min-width: 0;
}

.patent-turk-registration-fee-doc-pill {
    align-items: center;
    background: #eef5ff;
    border: 1px solid #cfe0fb;
    border-radius: 999px;
    color: #1f4d73;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 600;
    gap: 0.35rem;
    max-width: 100%;
    padding: 0.28rem 0.55rem;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.patent-turk-registration-fee-doc-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.patent-turk-registration-fee-doc-pill:hover {
    background: #dbeafe;
    border-color: #93c5fd;
    color: #15324b;
    text-decoration: none;
    transform: translateY(-1px);
}

.patent-turk-registration-fee-doc-empty {
    color: #ced4da;
    display: inline-flex;
    font-size: 0.75rem;
    justify-content: center;
    width: 100%;
}

.patent-turk-registration-fee-total {
    align-items: center;
    background: linear-gradient(90deg, #8a5a12 0%, #c48a1a 55%, #d9a23d 100%);
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0.95rem;
}

.patent-turk-registration-fee-total-label {
    align-items: center;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0.95;
}

.patent-turk-registration-fee-total strong {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

@media (max-width: 991.98px) {
    .patent-turk-registration-fees-summary {
        grid-template-columns: 1fr;
    }

    .patent-turk-registration-fee-table-head {
        display: none;
    }

    .patent-turk-registration-fee-row {
        gap: 0.45rem 0.55rem;
        grid-template-columns: 2rem 1fr auto;
        padding: 0.7rem 0.75rem;
    }

    .patent-turk-registration-fee-info {
        grid-column: 2 / 4;
        grid-row: 1;
    }

    .patent-turk-registration-fee-index {
        grid-row: 1 / 3;
    }

    .patent-turk-registration-fee-amount-wrap {
        grid-column: 2;
        grid-row: 2;
        justify-content: flex-start;
    }

    .patent-turk-registration-fee-doc {
        grid-column: 3;
        grid-row: 2;
        justify-self: end;
    }
}

@media (max-width: 767.98px) {
    .patent-turk-registration-fee-row {
        grid-template-columns: 1fr;
    }

    .patent-turk-registration-fee-index,
    .patent-turk-registration-fee-info,
    .patent-turk-registration-fee-amount-wrap,
    .patent-turk-registration-fee-doc {
        grid-column: 1;
        grid-row: auto;
    }

    .patent-turk-registration-fee-index {
        justify-self: start;
        margin-bottom: 0.15rem;
    }

    .patent-turk-registration-fee-amount-wrap {
        justify-content: flex-start;
    }

    .patent-turk-registration-fee-doc-pill {
        max-width: 100%;
    }
}

.patent-application-file-modal-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    color: #fff;
}

#researchReportModal .modal-content,
#examinationReportModal .modal-content,
#registrationDecisionModal .modal-content,
.patent-research-report-modal {
    border: 0;
    border-radius: 0.65rem;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 1rem);
    overflow: hidden;
    pointer-events: auto;
}

#researchReportModal.modal,
#examinationReportModal.modal,
#registrationDecisionModal.modal,
body.modal-open #researchReportModal.modal,
body.modal-open #examinationReportModal.modal,
body.modal-open #registrationDecisionModal.modal {
    overflow: hidden !important;
}

#researchReportModal,
#examinationReportModal,
#registrationDecisionModal {
    z-index: 1060;
}

#researchReportModal .modal-dialog,
#examinationReportModal .modal-dialog,
#registrationDecisionModal .modal-dialog {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 1rem);
    margin: 0.5rem auto;
    pointer-events: auto;
}

#researchReportForm,
#examinationReportForm,
#registrationDecisionForm {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
}

.patent-research-report-modal-header {
    flex-shrink: 0;
}

.patent-research-report-modal-body {
    background: #f8fafc;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.patent-research-report-modal-footer {
    background: #fff;
    flex-shrink: 0;
}

.patent-tto-research-report-alert {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fdba74;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.patent-tto-research-report-alert-header {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
    padding: 0.9rem 1rem 0.55rem;
}

.patent-tto-research-report-alert-icon {
    align-items: center;
    background: #ea580c;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.9rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.patent-tto-research-report-alert-header strong {
    color: #9a3412;
    display: block;
    font-size: 0.95rem;
}

.patent-tto-research-report-alert-header p {
    color: #9a3412;
    opacity: 0.85;
}

.patent-tto-research-report-alert-list {
    list-style: none;
    margin: 0;
    padding: 0 0.75rem 0.75rem;
}

.patent-tto-research-report-alert-list li + li {
    margin-top: 0.4rem;
}

.patent-tto-research-report-alert-link {
    align-items: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(234, 88, 12, 0.18);
    border-radius: 0.55rem;
    color: #9a3412;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    padding: 0.55rem 0.75rem;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.patent-tto-research-report-alert-link:hover {
    background: #fff;
    border-color: #ea580c;
    color: #7c2d12;
    text-decoration: none;
}

.patent-tto-research-report-alert-seq {
    font-weight: 700;
}

.patent-tto-research-report-alert-type {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #9a3412;
    font-size: 0.72rem;
    font-weight: 600;
}

.patent-academician-research-report-alert .patent-tto-research-report-alert-type {
    color: #92400e;
}

.patent-tto-research-report-alert-name {
    flex: 1 1 auto;
}

.patent-tto-research-report-alert-time {
    color: #c2410c;
    font-size: 0.8rem;
}

.patent-tto-research-report-alert-action {
    font-size: 0.82rem;
    font-weight: 600;
    margin-left: auto;
}

.patent-tto-research-report-row-badge {
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: 999px;
    color: #c2410c;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: 0.35rem;
    padding: 0.15rem 0.5rem;
    white-space: nowrap;
}

.patent-academician-research-report-alert {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fbbf24;
}

.patent-academician-research-report-alert .patent-tto-research-report-alert-icon {
    background: #d97706;
}

.patent-academician-research-report-alert .patent-tto-research-report-alert-header strong,
.patent-academician-research-report-alert .patent-tto-research-report-alert-header p,
.patent-academician-research-report-alert .patent-tto-research-report-alert-link {
    color: #92400e;
}

.patent-academician-research-report-alert .patent-tto-research-report-alert-link:hover {
    border-color: #d97706;
    color: #78350f;
}

.patent-academician-research-report-alert .patent-tto-research-report-alert-time {
    color: #b45309;
}

.patent-academician-research-report-row-badge {
    background: #fffbeb;
    border-color: #fbbf24;
    color: #b45309;
}

.patent-application-file-review-card {
    border: 1px solid rgba(37, 99, 235, 0.15);
    box-shadow: 0 0.15rem 0.5rem rgba(15, 23, 42, 0.06);
}

.patent-application-file-review-card .card-header {
    background: #f8fafc;
}

.patent-application-file-review-approved {
    background: #f0fdf4;
    border-color: #86efac;
}

.patent-application-file-review-divider {
    position: relative;
}

.patent-application-file-review-divider::before,
.patent-application-file-review-divider::after {
    background: #e2e8f0;
    content: "";
    height: 1px;
    position: absolute;
    top: 50%;
    width: 38%;
}

.patent-application-file-review-divider::before {
    left: 0;
}

.patent-application-file-review-divider::after {
    right: 0;
}

.patent-app-file-sidebar-card {
    border: 0;
    border-radius: 0.55rem;
    box-shadow: 0 0.2rem 0.75rem rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.patent-app-file-sidebar-hero {
    align-items: center;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 55%, #3b82f6 100%);
    color: #fff;
    display: flex;
    gap: 0.85rem;
    padding: 1rem 1rem 0.95rem;
}

.patent-app-file-sidebar-hero-done {
    background: linear-gradient(135deg, #14532d 0%, #16a34a 55%, #22c55e 100%);
}

.patent-app-file-sidebar-hero-icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0.65rem;
    display: flex;
    flex-shrink: 0;
    font-size: 1.25rem;
    height: 2.75rem;
    justify-content: center;
    width: 2.75rem;
}

.patent-app-file-sidebar-hero-text {
    min-width: 0;
}

.patent-app-file-sidebar-eyebrow {
    color: rgba(255, 255, 255, 0.82);
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
}

.patent-app-file-sidebar-title {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.25;
}

.patent-app-file-sidebar-round {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    margin-top: 0.35rem;
    padding: 0.12rem 0.5rem;
}

.patent-app-file-sidebar-body {
    background: #fff;
    padding: 1rem;
}

.patent-app-file-sidebar-download {
    margin-bottom: 0.85rem;
}

.patent-app-file-sidebar-file-link {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    color: #1e293b;
    display: flex;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.patent-app-file-sidebar-file-link:hover {
    border-color: #93c5fd;
    box-shadow: 0 0.15rem 0.45rem rgba(37, 99, 235, 0.12);
    color: #1e293b;
    text-decoration: none;
    transform: translateY(-1px);
}

.patent-app-file-sidebar-file-icon {
    align-items: center;
    background: #dbeafe;
    border-radius: 0.45rem;
    color: #1d4ed8;
    display: flex;
    flex-shrink: 0;
    font-size: 1.1rem;
    height: 2.25rem;
    justify-content: center;
    width: 2.25rem;
}

.patent-app-file-sidebar-file-meta {
    flex: 1;
    min-width: 0;
}

.patent-app-file-sidebar-file-meta strong {
    font-size: 0.82rem;
}

.patent-app-file-sidebar-file-action {
    color: #64748b;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.patent-app-file-sidebar-tip {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 0.45rem;
    color: #92400e;
    font-size: 0.76rem;
    line-height: 1.45;
    margin-bottom: 0.9rem;
    padding: 0.55rem 0.65rem;
}

.patent-app-file-highlight {
    background: #fef08a;
    border-radius: 0.15rem;
    padding: 0 0.15rem;
}

.patent-app-file-sidebar-approve-box {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 0.5rem;
    padding: 0.7rem 0.75rem;
}

.patent-app-file-sidebar-approve-box-error {
    border-color: #f87171;
    box-shadow: 0 0 0 0.15rem rgba(248, 113, 113, 0.15);
}

.patent-app-file-sidebar-mode-group {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.7rem 0.75rem;
}

.patent-app-file-sidebar-mode-group .custom-control-label {
    font-size: 0.82rem;
    font-weight: 600;
}

.patent-app-file-sidebar-approve-label {
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
}

.patent-app-file-sidebar-form .custom-file-label {
    font-size: 0.8rem;
}

.patent-app-file-sidebar-response-text {
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.45;
}

.patent-app-file-sidebar-response-meta {
    color: #64748b;
    font-size: 0.75rem;
}

.patent-app-file-sidebar-waiting {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 0.45rem;
    color: #475569;
    font-size: 0.76rem;
    padding: 0.55rem 0.65rem;
}

.patent-app-file-sidebar-card-done .patent-app-file-sidebar-file-icon {
    background: #dcfce7;
    color: #15803d;
}

.patent-module-list-card {
    background: #fff;
    border: 0;
    border-radius: 0.65rem;
    box-shadow: 0 0.2rem 0.85rem rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.patent-module-list-hero {
    align-items: flex-start;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 58%, #3b82f6 100%);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.2rem 1.3rem;
}

.patent-module-list-eyebrow {
    color: rgba(255, 255, 255, 0.82);
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.patent-module-list-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.patent-module-list-subtitle {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.86rem;
    max-width: 42rem;
}

.patent-module-list-hero-badge {
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    white-space: nowrap;
}

.patent-module-list-body {
    background: #f7f9fc;
    padding: 1rem;
}

.patent-module-list-summary {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 0.9rem;
}

.patent-module-list-stat {
    align-items: center;
    background: #fff;
    border: 1px solid #e4ebf3;
    border-radius: 0.5rem;
    box-shadow: 0 0.06rem 0.2rem rgba(15, 23, 42, 0.04);
    display: flex;
    gap: 0.6rem;
    min-width: 0;
    padding: 0.7rem 0.8rem;
}

.patent-module-list-stat-highlight {
    background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
    border-color: #bfdbfe;
}

.patent-module-list-stat-icon {
    align-items: center;
    background: #eef5ff;
    border-radius: 0.45rem;
    color: #2563eb;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.85rem;
    height: 2.1rem;
    justify-content: center;
    width: 2.1rem;
}

.patent-module-list-stat-icon-warning {
    background: #fff7e8;
    color: #b7791f;
}

.patent-module-list-stat-icon-success {
    background: #edf9f0;
    color: #1e7e34;
}

.patent-module-list-stat-icon-recent {
    background: #e0ecff;
    color: #1d4ed8;
}

.patent-module-list-stat-value {
    color: #1f2d3d;
    display: block;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.patent-module-list-stat-label {
    color: #6c757d;
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.patent-module-list-category-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.patent-module-list-category-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 3.85rem;
    min-width: 0;
    padding: 0.65rem 0.7rem;
    border: 1px solid #dbe4ef;
    border-radius: 0.75rem;
    background: #fff;
    color: #334155;
    text-decoration: none;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.patent-module-list-category-tab::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.28rem;
    border-radius: 0.75rem 0 0 0.75rem;
    background: transparent;
    transition: background 0.18s ease;
}

.patent-module-list-category-tab:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.patent-module-list-category-tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.55rem;
    flex-shrink: 0;
    font-size: 0.85rem;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.patent-module-list-category-tab-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.patent-module-list-category-tab-label {
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.patent-module-list-category-tab-count {
    font-size: 0.68rem;
    margin-top: 0.12rem;
    font-weight: 600;
    transition: color 0.18s ease;
}

/* Bekleyen — amber */
.patent-module-list-category-tab--pending {
    border-color: #fde68a;
    background: linear-gradient(135deg, #fffdf7 0%, #fffbeb 100%);
}

.patent-module-list-category-tab--pending::before {
    background: #f59e0b;
}

.patent-module-list-category-tab--pending .patent-module-list-category-tab-icon {
    background: #fef3c7;
    color: #d97706;
}

.patent-module-list-category-tab--pending .patent-module-list-category-tab-count {
    color: #b45309;
}

.patent-module-list-category-tab--pending:hover {
    border-color: #fbbf24;
    box-shadow: 0 0.45rem 1rem rgba(245, 158, 11, 0.16);
    color: #92400e;
}

.patent-module-list-category-tab--pending.is-active {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    box-shadow: 0 0.55rem 1.15rem rgba(245, 158, 11, 0.2);
    color: #78350f;
}

.patent-module-list-category-tab--pending.is-active .patent-module-list-category-tab-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    box-shadow: 0 0.25rem 0.55rem rgba(217, 119, 6, 0.28);
}

/* Başvurusu yapılan — emerald */
.patent-module-list-category-tab--applied {
    border-color: #a7f3d0;
    background: linear-gradient(135deg, #f8fffc 0%, #ecfdf5 100%);
}

.patent-module-list-category-tab--applied::before {
    background: #10b981;
}

.patent-module-list-category-tab--applied .patent-module-list-category-tab-icon {
    background: #d1fae5;
    color: #059669;
}

.patent-module-list-category-tab--applied .patent-module-list-category-tab-count {
    color: #047857;
}

.patent-module-list-category-tab--applied:hover {
    border-color: #34d399;
    box-shadow: 0 0.45rem 1rem rgba(16, 185, 129, 0.16);
    color: #065f46;
}

.patent-module-list-category-tab--applied.is-active {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    box-shadow: 0 0.55rem 1.15rem rgba(16, 185, 129, 0.2);
    color: #064e3b;
}

.patent-module-list-category-tab--applied.is-active .patent-module-list-category-tab-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 0.25rem 0.55rem rgba(5, 150, 105, 0.28);
}

/* Tescillendi — teal */
.patent-module-list-category-tab--registered {
    border-color: #99f6e4;
    background: linear-gradient(135deg, #f7fffe 0%, #f0fdfa 100%);
}

.patent-module-list-category-tab--registered::before {
    background: #0d9488;
}

.patent-module-list-category-tab--registered .patent-module-list-category-tab-icon {
    background: #ccfbf1;
    color: #0f766e;
}

.patent-module-list-category-tab--registered .patent-module-list-category-tab-count {
    color: #0f766e;
}

.patent-module-list-category-tab--registered:hover {
    border-color: #2dd4bf;
    box-shadow: 0 0.45rem 1rem rgba(13, 148, 136, 0.16);
    color: #115e59;
}

.patent-module-list-category-tab--registered.is-active {
    border-color: #0d9488;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    box-shadow: 0 0.55rem 1.15rem rgba(13, 148, 136, 0.2);
    color: #134e4a;
}

.patent-module-list-category-tab--registered.is-active .patent-module-list-category-tab-icon {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: #fff;
    box-shadow: 0 0.25rem 0.55rem rgba(13, 148, 136, 0.28);
}

/* Red edilen — rose */
.patent-module-list-category-tab--rejected {
    border-color: #fecdd3;
    background: linear-gradient(135deg, #fffafb 0%, #fff1f2 100%);
}

.patent-module-list-category-tab--rejected::before {
    background: #f43f5e;
}

.patent-module-list-category-tab--rejected .patent-module-list-category-tab-icon {
    background: #ffe4e6;
    color: #e11d48;
}

.patent-module-list-category-tab--rejected .patent-module-list-category-tab-count {
    color: #be123c;
}

.patent-module-list-category-tab--rejected:hover {
    border-color: #fb7185;
    box-shadow: 0 0.45rem 1rem rgba(244, 63, 94, 0.16);
    color: #9f1239;
}

.patent-module-list-category-tab--rejected.is-active {
    border-color: #f43f5e;
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    box-shadow: 0 0.55rem 1.15rem rgba(244, 63, 94, 0.2);
    color: #881337;
}

.patent-module-list-category-tab--rejected.is-active .patent-module-list-category-tab-icon {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #fff;
    box-shadow: 0 0.25rem 0.55rem rgba(225, 29, 72, 0.28);
}

/* Tümü — indigo */
.patent-module-list-category-tab--all {
    border-color: #c7d2fe;
    background: linear-gradient(135deg, #f9faff 0%, #eef2ff 100%);
}

.patent-module-list-category-tab--all::before {
    background: #6366f1;
}

.patent-module-list-category-tab--all .patent-module-list-category-tab-icon {
    background: #e0e7ff;
    color: #4f46e5;
}

.patent-module-list-category-tab--all .patent-module-list-category-tab-count {
    color: #4338ca;
}

.patent-module-list-category-tab--all:hover {
    border-color: #818cf8;
    box-shadow: 0 0.45rem 1rem rgba(99, 102, 241, 0.16);
    color: #3730a3;
}

.patent-module-list-category-tab--all.is-active {
    border-color: #6366f1;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    box-shadow: 0 0.55rem 1.15rem rgba(99, 102, 241, 0.2);
    color: #312e81;
}

.patent-module-list-category-tab--all.is-active .patent-module-list-category-tab-icon {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
    box-shadow: 0 0.25rem 0.55rem rgba(79, 70, 229, 0.28);
}

.patent-module-list-table-panel {
    background: #fff;
    border: 1px solid #e4ebf3;
    border-radius: 0.55rem;
    box-shadow: 0 0.08rem 0.3rem rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.patent-module-list-table-head {
    border-bottom: 1px solid #edf2f7;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.patent-module-list-table-head-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.patent-module-list-table-head-meta-item {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.74rem;
    font-weight: 600;
}

.patent-module-list-table-head h5 {
    font-size: 0.95rem;
    font-weight: 700;
}

.patent-module-list-table-wrap {
    padding: 0 1rem 1rem;
}

.patent-module-list-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100% !important;
}

.patent-module-list-table thead th {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0 !important;
    border-top: 0 !important;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 0.7rem 0.75rem !important;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

.patent-module-list-table tbody td {
    border-top: 1px solid #f1f5f9 !important;
    padding: 0.8rem 0.75rem !important;
    vertical-align: middle;
}

.patent-module-list-table tbody tr:hover td {
    background: #f8fbff;
}

.patent-module-list-sequence {
    align-items: center;
    background: #eef5ff;
    border: 1px solid #dbeafe;
    border-radius: 0.4rem;
    color: #1e40af;
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.28rem 0.5rem;
    white-space: nowrap;
}

.patent-module-list-person {
    align-items: center;
    display: flex;
    gap: 0.55rem;
    min-width: 0;
}

.patent-module-list-avatar {
    align-items: center;
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.patent-module-list-person-name {
    color: #1f2d3d;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.35;
}

.patent-module-list-title-cell {
    color: #334155;
    display: -webkit-box;
    font-size: 0.84rem;
    font-weight: 600;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.45;
    max-width: 28rem;
    overflow: hidden;
}

.patent-module-list-status {
    border-radius: 999px;
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
    max-width: 16rem;
    overflow: hidden;
    padding: 0.28rem 0.6rem;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}

.patent-module-list-status-success {
    background: #dcfce7;
    color: #166534;
}

.patent-module-list-status-danger {
    background: #fee2e2;
    color: #b91c1c;
}

.patent-module-list-status-warning {
    background: #fef3c7;
    color: #b45309;
}

.patent-module-list-status-primary {
    background: #dbeafe;
    color: #1d4ed8;
}

.patent-module-list-status-info {
    background: #e0f2fe;
    color: #0369a1;
}

.patent-module-list-date-main {
    color: #1f2d3d;
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
}

.patent-module-list-date-sub {
    color: #94a3b8;
    display: block;
    font-size: 0.72rem;
}

.patent-module-list-col-action {
    text-align: right;
    white-space: nowrap;
    width: 1%;
}

.patent-module-list-action-btn {
    align-items: center;
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    border-radius: 0.4rem;
    color: #fff !important;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    gap: 0.35rem;
    padding: 0.38rem 0.7rem;
    text-decoration: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.patent-module-list-action-btn:hover {
    box-shadow: 0 0.25rem 0.65rem rgba(37, 99, 235, 0.28);
    color: #fff !important;
    transform: translateY(-1px);
}

.patent-module-list-table-panel .dataTables_wrapper .row {
    margin-left: 0;
    margin-right: 0;
}

.patent-module-list-table-panel .dataTables_wrapper .row:first-child,
.patent-module-list-table-panel .dataTables_wrapper .row:last-child {
    align-items: center;
    padding: 0.85rem 1rem 0;
}

.patent-module-list-table-panel .dataTables_wrapper .row:last-child {
    border-top: 1px solid #edf2f7;
    margin-top: 0.35rem;
    padding-bottom: 0.2rem;
    padding-top: 0.75rem;
}

.patent-module-list-table-panel .dataTables_length label,
.patent-module-list-table-panel .dataTables_filter label {
    align-items: center;
    color: #64748b;
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 600;
    gap: 0.45rem;
    margin-bottom: 0;
}

.patent-module-list-table-panel .dataTables_length select,
.patent-module-list-table-panel .dataTables_filter input {
    border: 1px solid #dbe3ee;
    border-radius: 0.4rem;
    font-size: 0.82rem;
    height: calc(1.8rem + 2px);
    padding: 0.2rem 0.55rem;
}

.patent-module-list-table-panel .dataTables_length select {
    min-width: 4.85rem;
    padding-left: 0.65rem;
    padding-right: 1.9rem;
    width: auto;
}

.patent-module-list-table-panel .dataTables_filter input {
    min-width: 12rem;
}

.patent-module-list-table-panel .dataTables_filter input:focus,
.patent-module-list-table-panel .dataTables_length select:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 0.15rem rgba(37, 99, 235, 0.12);
    outline: 0;
}

.patent-module-list-table-panel .dataTables_info {
    color: #64748b;
    font-size: 0.78rem;
    padding-top: 0.45rem;
}

.patent-module-list-table-panel .pagination {
    margin-bottom: 0;
}

.patent-module-list-table-panel .page-item .page-link {
    border-radius: 0.35rem;
    font-size: 0.78rem;
    margin-left: 0.15rem;
}

.patent-module-list-table-panel .page-item.active .page-link {
    background: #2563eb;
    border-color: #2563eb;
}

@media (max-width: 1199.98px) {
    .patent-module-list-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .usi-firm-list-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .patent-module-list-category-tabs {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.4rem;
    }

    .patent-module-list-category-tab {
        gap: 0.4rem;
        padding: 0.55rem 0.5rem;
        min-height: 3.5rem;
    }

    .patent-module-list-category-tab-icon {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.75rem;
    }

    .patent-module-list-category-tab-label {
        font-size: 0.68rem;
    }
}

@media (max-width: 767.98px) {
    .patent-module-list-summary {
        grid-template-columns: 1fr;
    }

    .patent-module-list-category-tabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.25rem;
    }

    .patent-module-list-category-tab {
        flex: 0 0 auto;
        width: min(11.5rem, 78vw);
        min-height: 3.4rem;
    }

    .patent-module-list-table-panel .dataTables_wrapper .row:first-child,
    .patent-module-list-table-panel .dataTables_wrapper .row:last-child {
        gap: 0.65rem;
    }

    .patent-module-list-table-panel .dataTables_length,
    .patent-module-list-table-panel .dataTables_filter {
        text-align: left !important;
        width: 100%;
    }

    .patent-module-list-table-panel .dataTables_filter input {
        min-width: 0;
        width: 100%;
    }

    .patent-module-list-payment-form {
        align-items: stretch;
        flex-direction: column;
    }

    .patent-module-list-hero-side {
        align-items: stretch;
        width: 100%;
    }
}

.patent-module-list-hero-applications {
    background: linear-gradient(135deg, #14532d 0%, #16a34a 58%, #22c55e 100%);
}

.patent-module-list-hero-payments {
    background: linear-gradient(135deg, #4a3206 0%, #8a5a12 45%, #c48a1a 100%);
}

.patent-module-list-hero-side {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.patent-module-list-hero-btn {
    align-items: center;
    background: #fff;
    border-radius: 999px;
    color: #166534 !important;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    gap: 0.25rem;
    padding: 0.38rem 0.8rem;
    text-decoration: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}

.patent-module-list-hero-btn:hover {
    box-shadow: 0 0.25rem 0.65rem rgba(255, 255, 255, 0.22);
    color: #14532d !important;
    transform: translateY(-1px);
}

.patent-module-list-avatar-applications {
    background: linear-gradient(135deg, #14532d, #16a34a);
}

.patent-module-list-stat-highlight-payments {
    background: linear-gradient(135deg, #fff7e8 0%, #fff 100%);
    border-color: #f0d9a6;
}

.patent-module-list-summary-payments {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

a.patent-module-list-stat-filter {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

a.patent-module-list-stat-filter:hover {
    border-color: #93c5fd;
    box-shadow: 0 0.35rem 0.85rem rgba(37, 99, 235, 0.12);
    color: inherit;
    text-decoration: none;
    transform: translateY(-1px);
}

a.patent-module-list-stat-filter-warning:hover {
    border-color: #f0d9a6;
    box-shadow: 0 0.35rem 0.85rem rgba(183, 121, 31, 0.14);
}

a.patent-module-list-stat-filter-danger:hover {
    border-color: #fca5a5;
    box-shadow: 0 0.35rem 0.85rem rgba(185, 28, 28, 0.12);
}

a.patent-module-list-stat-filter.is-active {
    border-color: #2563eb;
    box-shadow: 0 0.45rem 1rem rgba(37, 99, 235, 0.18);
}

a.patent-module-list-stat-filter-warning.is-active {
    border-color: #d97706;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    box-shadow: 0 0.45rem 1rem rgba(217, 119, 6, 0.18);
}

a.patent-module-list-stat-filter-danger.is-active {
    border-color: #dc2626;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    box-shadow: 0 0.45rem 1rem rgba(220, 38, 38, 0.16);
}

a.patent-module-list-stat-filter-recent:hover {
    border-color: #93c5fd;
    box-shadow: 0 0.35rem 0.85rem rgba(37, 99, 235, 0.12);
}

a.patent-module-list-stat-filter-recent.is-active {
    border-color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: 0 0.45rem 1rem rgba(37, 99, 235, 0.16);
}

a.patent-module-list-stat-filter-success:hover {
    border-color: #86efac;
    box-shadow: 0 0.35rem 0.85rem rgba(22, 163, 74, 0.14);
}

a.patent-module-list-stat-filter-success.is-active {
    border-color: #16a34a;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    box-shadow: 0 0.45rem 1rem rgba(22, 163, 74, 0.16);
}

.patent-module-list-stat-icon-danger {
    background: #fee2e2;
    color: #b91c1c;
}

.patent-module-list-status-neutral {
    background: #f1f5f9;
    color: #475569;
}

.patent-module-list-actions {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
}

.patent-module-list-action-btn-warning {
    background: linear-gradient(135deg, #b45309, #f59e0b);
}

.patent-module-list-action-btn-light {
    background: #fff;
    border: 1px solid #dbeafe;
    color: #1d4ed8 !important;
}

.patent-module-list-action-btn-light:hover {
    background: #eff6ff;
    box-shadow: 0 0.2rem 0.55rem rgba(37, 99, 235, 0.16);
    color: #1e40af !important;
}

.patent-module-list-action-btn-success {
    background: linear-gradient(135deg, #15803d, #22c55e);
}

.patent-module-list-actions .patent-delete-form .btn-delete-patent {
    border-radius: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.38rem 0.7rem;
}

.patent-module-list-sequence-payments {
    background: #fff7e8;
    border-color: #f0d9a6;
    color: #9a6700;
}

.patent-module-list-year-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #334155;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    white-space: nowrap;
}

.patent-module-list-amount {
    color: #9a6700;
    font-size: 0.9rem;
    font-weight: 800;
}

.patent-module-list-currency {
    color: #c48a1a;
    font-size: 0.76rem;
    font-weight: 700;
    margin-left: 0.15rem;
}

.patent-module-list-date-sub-danger {
    color: #dc2626;
    font-weight: 700;
}

.patent-module-list-row-overdue td {
    background: #fff8f8;
}

.patent-module-list-row-overdue:hover td {
    background: #fff1f1 !important;
}

.patent-module-list-payment-form {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: flex-end;
}

.patent-module-list-payment-input-wrap {
    align-items: center;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 0.4rem;
    display: inline-flex;
    overflow: hidden;
}

.patent-module-list-payment-input {
    border: 0;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.32rem 0.45rem;
    width: 6.5rem;
}

.patent-module-list-payment-input:focus {
    outline: 0;
}

.patent-module-list-payment-currency {
    background: #f8fafc;
    border-left: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.32rem 0.45rem;
}

.patent-module-list-paid-done {
    align-items: center;
    color: #15803d;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 700;
    gap: 0.3rem;
    white-space: nowrap;
}

.patent-module-list-hero-industry {
    background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 58%, #8b5cf6 100%);
}

.patent-module-list-hero-industry-tto {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 58%, #3b82f6 100%);
}

.patent-module-list-hero-industry-academician {
    background: linear-gradient(135deg, #115e59 0%, #0d9488 58%, #14b8a6 100%);
}

.patent-module-list-hero-btn-industry {
    color: #5b21b6 !important;
}

.patent-module-list-hero-btn-industry:hover {
    color: #4c1d95 !important;
}

.patent-module-list-stat-highlight-industry {
    background: linear-gradient(135deg, #f5f3ff 0%, #fff 100%);
    border-color: #ddd6fe;
}

.patent-module-list-stat-highlight-industry-academician {
    background: linear-gradient(135deg, #ecfeff 0%, #fff 100%);
    border-color: #a5f3fc;
}

.patent-module-list-sequence-industry {
    background: #f5f3ff;
    border-color: #ddd6fe;
    color: #6d28d9;
}

.patent-module-list-sequence-industry-academician {
    background: #ecfeff;
    border-color: #a5f3fc;
    color: #0f766e;
}

.patent-module-list-avatar-industry {
    background: linear-gradient(135deg, #5b21b6, #7c3aed);
}

.patent-module-list-avatar-industry-academician {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.patent-module-list-request-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.22rem 0.55rem;
    white-space: nowrap;
}

.patent-module-list-request-pill-primary {
    background: #dbeafe;
    color: #1d4ed8;
}

.patent-module-list-request-pill-neutral {
    background: #f1f5f9;
    color: #475569;
}

.patent-module-list-role-pill {
    background: #eef5ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #1e40af;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.22rem 0.55rem;
    white-space: nowrap;
}

.patent-module-list-action-btn-industry-academician {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.patent-module-list-hero-admin {
    background: linear-gradient(135deg, #1e293b 0%, #334155 58%, #475569 100%);
}

.patent-module-list-hero-btn-admin {
    color: #1e293b !important;
}

.patent-module-list-hero-btn-admin:hover {
    color: #0f172a !important;
}

.patent-module-list-stat-highlight-admin {
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
    border-color: #cbd5e1;
}

.patent-module-list-summary-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.patent-module-list-avatar-admin {
    background: linear-gradient(135deg, #334155, #64748b);
    font-size: 0.72rem;
}

.patent-module-list-sequence-admin {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #475569;
}

.patent-module-list-meta-line {
    color: #475569;
    font-size: 0.82rem;
    font-weight: 600;
}

.patent-module-list-icon-btn {
    align-items: center;
    border: 0;
    border-radius: 0.4rem;
    color: #fff;
    display: inline-flex;
    font-size: 0.78rem;
    height: 2rem;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    width: 2rem;
}

.patent-module-list-icon-btn:hover {
    box-shadow: 0 0.2rem 0.55rem rgba(15, 23, 42, 0.18);
    transform: translateY(-1px);
}

.patent-module-list-icon-btn-warning {
    background: linear-gradient(135deg, #b45309, #f59e0b);
}

.patent-module-list-icon-btn-danger {
    background: linear-gradient(135deg, #b91c1c, #ef4444);
}

.patent-module-list-menu-icon {
    align-items: center;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 0.45rem;
    color: #4338ca;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.82rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.patent-module-list-link-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #475569;
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 600;
    max-width: 18rem;
    overflow: hidden;
    padding: 0.24rem 0.55rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.patent-module-list-link-pill-menu {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4338ca;
}

.patent-module-list-order-pill {
    align-items: center;
    background: #f1f5f9;
    border-radius: 0.35rem;
    color: #334155;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    height: 1.65rem;
    justify-content: center;
    min-width: 1.65rem;
    padding: 0 0.35rem;
}

.patent-module-list-bool-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.22rem 0.55rem;
    white-space: nowrap;
}

.patent-module-list-bool-pill-yes {
    background: #dcfce7;
    color: #166534;
}

.patent-module-list-bool-pill-no {
    background: #f1f5f9;
    color: #64748b;
}

.patent-module-list-code-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.35rem;
    color: #475569;
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.24rem 0.5rem;
}

.patent-module-list-code-pill-table {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4338ca;
}

@media (max-width: 767.98px) {
    .patent-module-list-summary-compact {
        grid-template-columns: 1fr;
    }
}



/* ÜSİ TTO list category / year filters */
.usi-firm-list-summary {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.usi-tto-filter-stat {
    appearance: none;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
}

.usi-tto-filter-stat:hover,
.usi-tto-filter-stat.is-active {
    border-color: #1f7a8c;
    box-shadow: 0 0.15rem 0.45rem rgba(31, 122, 140, 0.12);
}

.usi-tto-filter-stat.is-active {
    background: linear-gradient(135deg, #eef8f8 0%, #fff 100%);
}

.usi-tto-list-filters {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
}

.usi-tto-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.usi-tto-category-tab {
    background: #fff;
    border: 1px solid #d7e3ec;
    border-radius: 999px;
    color: #1f4e6b;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
}

.usi-tto-category-tab:hover,
.usi-tto-category-tab.is-active {
    background: #0f4c81;
    border-color: #0f4c81;
    color: #fff;
}

.usi-tto-year-filter {
    align-items: center;
    display: flex;
    gap: 0.45rem;
}

.usi-tto-year-label {
    color: #6c757d;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0;
}

.usi-tto-year-select {
    min-width: 8.5rem;
}

@media (max-width: 767.98px) {
    .usi-tto-list-filters {
        align-items: stretch;
        flex-direction: column;
    }

    .usi-tto-year-filter {
        justify-content: space-between;
    }
}

/* KÜ-TTO public landing & login (KastamonuTTO palette) */
:root {
    --tto-navy: #1a3a6c;
    --tto-navy-dark: #0f2847;
    --tto-navy-light: #2a5080;
    --tto-gold: #c5a059;
    --tto-gold-light: #dbbf7a;
    --tto-burgundy: #991b1b;
    --tto-bg: #f3f5f8;
    --tto-surface: #ffffff;
    --tto-text-muted: #5c6678;
}

.tto-public-body {
    background: var(--tto-bg);
    color: #1c2430;
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    min-height: 100vh;
}

.tto-public-header {
    background: var(--tto-surface);
    border-bottom: 1px solid rgba(26, 58, 108, 0.1);
    box-shadow: 0 2px 16px rgba(15, 40, 71, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.tto-public-header-inner {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0.85rem 1.25rem;
}

.tto-public-brand-group {
    align-items: center;
    display: flex;
    flex-shrink: 1;
    gap: 0.75rem;
    min-width: 0;
}

.tto-public-logo-tile {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(26, 58, 108, 0.1);
    border-radius: 0.75rem;
    box-shadow: 0 4px 18px rgba(15, 40, 71, 0.07);
    display: inline-flex;
    justify-content: center;
    padding: 0.45rem 0.65rem;
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tto-public-logo-tile:hover {
    box-shadow: 0 8px 24px rgba(15, 40, 71, 0.12);
    text-decoration: none;
    transform: translateY(-1px);
}

.tto-public-logo-tile--tto {
    padding: 0.55rem 0.85rem;
}

.tto-public-logo-tile--footer {
    padding: 0.5rem 0.75rem;
}

.tto-public-logo-uni {
    display: block;
    height: 52px;
    object-fit: contain;
    width: auto;
}

.tto-public-logo-tto {
    display: block;
    height: 38px;
    max-width: min(280px, 46vw);
    object-fit: contain;
    object-position: center;
    width: auto;
}

.tto-public-brand {
    align-items: center;
    display: flex;
    flex-shrink: 1;
    gap: 0.85rem;
    min-width: 0;
    text-decoration: none;
}

.tto-public-brand-uni {
    height: 58px;
    object-fit: contain;
    width: auto;
}

.tto-public-brand-tto {
    height: 46px;
    max-width: min(360px, 52vw);
    object-fit: contain;
    object-position: left center;
    width: auto;
}

.tto-public-brand-divider {
    background: linear-gradient(180deg, var(--tto-gold-light), var(--tto-gold));
    border-radius: 999px;
    flex-shrink: 0;
    height: 42px;
    width: 2px;
}

.tto-public-header-actions {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

.tto-btn-primary {
    background: var(--tto-navy);
    border: 1px solid var(--tto-navy);
    border-radius: 0.45rem;
    color: #fff;
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.tto-btn-primary:hover {
    background: var(--tto-navy-dark);
    border-color: var(--tto-navy-dark);
    color: #fff;
}

.tto-btn-outline {
    background: transparent;
    border: 1px solid rgba(26, 58, 108, 0.35);
    border-radius: 0.45rem;
    color: var(--tto-navy);
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.tto-btn-outline:hover {
    background: rgba(26, 58, 108, 0.05);
    border-color: var(--tto-navy);
    color: var(--tto-navy-dark);
}

.tto-public-landing {
    min-height: 100vh;
}

.tto-public-hero {
    background: linear-gradient(135deg, var(--tto-navy-dark) 0%, var(--tto-navy) 52%, var(--tto-navy-light) 100%);
    overflow: hidden;
    position: relative;
}

.tto-public-hero-pattern {
    background:
        radial-gradient(circle at 85% 20%, rgba(197, 160, 89, 0.22) 0%, transparent 42%),
        radial-gradient(circle at 12% 85%, rgba(153, 27, 27, 0.18) 0%, transparent 36%);
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.tto-public-hero-inner {
    margin: 0 auto;
    max-width: 1200px;
    padding: 3.5rem 1.25rem 4rem;
    position: relative;
    z-index: 1;
}

.tto-public-eyebrow {
    color: var(--tto-gold-light);
    display: inline-block;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

.tto-public-hero-title {
    color: #fff;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    max-width: 820px;
}

.tto-public-hero-lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    line-height: 1.55;
    margin-bottom: 0;
    max-width: 720px;
}

.tto-public-features {
    margin-top: -2rem;
    padding: 0 1.25rem 3rem;
    position: relative;
    z-index: 2;
}

.tto-public-features-inner {
    display: grid;
    gap: 1.15rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1200px;
}

.tto-public-feature-card {
    background: var(--tto-surface);
    border: 1px solid rgba(26, 58, 108, 0.1);
    border-radius: 0.85rem;
    box-shadow: 0 10px 28px rgba(15, 40, 71, 0.08);
    padding: 1.5rem 1.35rem 1.35rem;
    position: relative;
}

.tto-public-feature-card::before {
    background: linear-gradient(90deg, var(--tto-gold), var(--tto-gold-light));
    border-radius: 0.85rem 0.85rem 0 0;
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.tto-public-feature-icon {
    align-items: center;
    background: rgba(26, 58, 108, 0.08);
    border-radius: 0.65rem;
    color: var(--tto-navy);
    display: inline-flex;
    font-size: 1.15rem;
    height: 2.5rem;
    justify-content: center;
    margin-bottom: 0.9rem;
    width: 2.5rem;
}

.tto-public-feature-icon--gold {
    background: rgba(197, 160, 89, 0.16);
    color: #8a6a2b;
}

.tto-public-feature-icon--burgundy {
    background: rgba(153, 27, 27, 0.1);
    color: var(--tto-burgundy);
}

.tto-public-feature-card h2 {
    color: var(--tto-navy);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.tto-public-feature-card p {
    color: var(--tto-text-muted);
    line-height: 1.55;
    margin-bottom: 0;
}

.tto-public-stats {
    background:
        radial-gradient(circle at 8% 0%, rgba(197, 160, 89, 0.1) 0%, transparent 38%),
        radial-gradient(circle at 92% 100%, rgba(26, 58, 108, 0.07) 0%, transparent 42%),
        linear-gradient(180deg, rgba(26, 58, 108, 0.035) 0%, transparent 70%);
    padding: 0.5rem 1.25rem 3.5rem;
}

.tto-public-stats-inner {
    margin: 0 auto;
    max-width: 1200px;
}

.tto-public-stats-header {
    margin-bottom: 1.75rem;
    text-align: center;
}

.tto-public-eyebrow--on-light {
    color: var(--tto-gold);
}

.tto-public-stats-title {
    color: var(--tto-navy);
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.tto-public-stats-lead {
    color: var(--tto-text-muted);
    margin: 0 auto 1rem;
    max-width: 640px;
}

.tto-public-stats-rule {
    background: linear-gradient(90deg, transparent, var(--tto-gold), transparent);
    display: block;
    height: 2px;
    margin: 0 auto;
    max-width: 8rem;
    opacity: 0.85;
}

.tto-public-stats-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tto-public-stats-panel {
    min-width: 0;
}

.tto-stats-module {
    background: var(--tto-surface);
    border: 1px solid rgba(26, 58, 108, 0.1);
    border-radius: 0.95rem;
    box-shadow: 0 12px 32px rgba(15, 40, 71, 0.07);
    height: 100%;
    overflow: hidden;
    position: relative;
}

.tto-stats-module::before {
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.tto-stats-module--patent::before {
    background: linear-gradient(90deg, var(--tto-navy), var(--tto-gold));
}

.tto-stats-module--usi::before {
    background: linear-gradient(90deg, var(--tto-gold), var(--tto-burgundy));
}

.tto-stats-module-header {
    align-items: flex-start;
    display: flex;
    gap: 0.85rem;
    justify-content: space-between;
    padding: 1.25rem 1.25rem 0.85rem;
}

.tto-stats-module-brand {
    align-items: center;
    display: flex;
    gap: 0.85rem;
    min-width: 0;
}

.tto-stats-year-picker {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 0.2rem;
    margin: 0;
}

.tto-stats-year-picker-label {
    color: var(--tto-text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tto-stats-year-select {
    appearance: none;
    background:
        linear-gradient(45deg, transparent 50%, var(--tto-navy) 50%) right 0.7rem center / 0.35rem 0.35rem no-repeat,
        linear-gradient(135deg, var(--tto-navy) 50%, transparent 50%) right 0.42rem center / 0.35rem 0.35rem no-repeat,
        rgba(26, 58, 108, 0.05);
    border: 1px solid rgba(26, 58, 108, 0.2);
    border-radius: 0.55rem;
    color: var(--tto-navy);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    min-width: 5.25rem;
    padding: 0.4rem 1.75rem 0.4rem 0.7rem;
}

.tto-stats-year-select:focus {
    border-color: rgba(26, 58, 108, 0.45);
    box-shadow: 0 0 0 0.15rem rgba(26, 58, 108, 0.12);
    outline: none;
}

.tto-stats-module--usi .tto-stats-year-select {
    background:
        linear-gradient(45deg, transparent 50%, #8a6a2b 50%) right 0.7rem center / 0.35rem 0.35rem no-repeat,
        linear-gradient(135deg, #8a6a2b 50%, transparent 50%) right 0.42rem center / 0.35rem 0.35rem no-repeat,
        rgba(197, 160, 89, 0.12);
    border-color: rgba(197, 160, 89, 0.4);
    color: #8a6a2b;
}

.tto-stats-module-icon {
    align-items: center;
    border-radius: 0.7rem;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1.1rem;
    height: 2.65rem;
    justify-content: center;
    width: 2.65rem;
}

.tto-stats-module--patent .tto-stats-module-icon {
    background: rgba(26, 58, 108, 0.09);
    color: var(--tto-navy);
}

.tto-stats-module--usi .tto-stats-module-icon {
    background: rgba(197, 160, 89, 0.18);
    color: #8a6a2b;
}

.tto-stats-module-title {
    color: var(--tto-navy);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.15rem;
}

.tto-stats-module-subtitle {
    color: var(--tto-text-muted);
    font-size: 0.82rem;
    line-height: 1.35;
    margin: 0;
}

.tto-stats-metrics {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0 1.15rem 1rem;
}

.tto-stats-metrics--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tto-stats-metric {
    background: rgba(26, 58, 108, 0.045);
    border: 1px solid rgba(26, 58, 108, 0.07);
    border-radius: 0.7rem;
    padding: 0.7rem 0.55rem;
    text-align: center;
}

.tto-stats-metric--success {
    background: rgba(31, 122, 55, 0.06);
    border-color: rgba(31, 122, 55, 0.12);
}

.tto-stats-metric--progress {
    background: rgba(26, 58, 108, 0.06);
    border-color: rgba(26, 58, 108, 0.1);
}

.tto-stats-metric-value {
    color: var(--tto-navy);
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.tto-stats-metric--success .tto-stats-metric-value {
    color: #1f7a37;
}

.tto-stats-metric--progress .tto-stats-metric-value {
    color: var(--tto-navy-light);
}

.tto-stats-metric-label {
    color: var(--tto-text-muted);
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-top: 0.28rem;
}

.tto-stats-year-panel {
    border-top: 1px solid rgba(26, 58, 108, 0.08);
    padding: 0.95rem 1.25rem 0.85rem;
}

.tto-stats-year-bar {
    background: rgba(26, 58, 108, 0.06);
    border-radius: 999px;
    height: 0.5rem;
    margin-bottom: 0.55rem;
    overflow: hidden;
}

.tto-stats-year-bar-track {
    border-radius: inherit;
    display: flex;
    height: 100%;
    min-width: 0;
    overflow: hidden;
}

.tto-stats-year-bar-completed {
    background: linear-gradient(90deg, #2f9e4f, #57b86f);
    display: block;
    height: 100%;
}

.tto-stats-year-bar-progress {
    background: linear-gradient(90deg, var(--tto-navy-light), var(--tto-navy));
    display: block;
    height: 100%;
}

.tto-stats-module--usi .tto-stats-year-bar-progress {
    background: linear-gradient(90deg, var(--tto-gold), #a8843a);
}

.tto-stats-year-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.tto-stats-year-meta-item {
    align-items: center;
    color: var(--tto-text-muted);
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 600;
    gap: 0.3rem;
}

.tto-stats-year-meta-item i {
    font-size: 0.68rem;
    opacity: 0.85;
}

.tto-stats-year-meta-item--success {
    color: #1f7a37;
}

.tto-stats-year-meta-item--progress {
    color: var(--tto-navy);
}

.tto-stats-module--usi .tto-stats-year-meta-item--progress {
    color: #8a6a2b;
}

.tto-stats-totals {
    align-items: center;
    background: rgba(26, 58, 108, 0.035);
    border-top: 1px solid rgba(26, 58, 108, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.85rem;
    justify-content: space-between;
    padding: 0.7rem 1.25rem 0.85rem;
}

.tto-stats-totals-label {
    color: var(--tto-navy);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.tto-stats-totals-values {
    color: var(--tto-text-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.78rem;
    font-weight: 600;
    gap: 0.65rem 0.95rem;
}

.tto-stats-totals-values strong {
    color: var(--tto-navy);
    font-weight: 700;
}

.tto-stats-empty {
    color: var(--tto-text-muted);
    font-size: 0.88rem;
    padding: 1.25rem 1.25rem 1.5rem;
    text-align: center;
}

.tto-public-footer {
    background: var(--tto-surface);
    border-top: 1px solid rgba(26, 58, 108, 0.1);
    padding: 1.25rem;
}

.tto-public-footer-inner {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin: 0 auto;
    max-width: 1200px;
}

.tto-public-footer-brands {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
}

.tto-public-footer-copy {
    color: var(--tto-text-muted);
    font-size: 0.92rem;
    margin-bottom: 0;
    text-align: center;
}

.tto-login-body {
    background:
        radial-gradient(circle at 10% 0%, rgba(197, 160, 89, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 100%, rgba(153, 27, 27, 0.08) 0%, transparent 35%),
        var(--tto-bg);
}

.tto-login-shell {
    min-height: 100vh;
}

.tto-login-panel {
    display: flex;
    justify-content: center;
    padding: 1.5rem 1rem 2.5rem;
}

.tto-login-card {
    border: 1px solid rgba(26, 58, 108, 0.12);
    border-radius: 0.85rem;
    box-shadow: 0 16px 40px rgba(15, 40, 71, 0.1);
    max-width: 460px;
    overflow: hidden;
    width: 100%;
}

.tto-login-card::before {
    background: linear-gradient(90deg, var(--tto-navy), var(--tto-gold));
    content: "";
    display: block;
    height: 4px;
}

.tto-login-card .login-card-body {
    padding: 1.75rem 1.5rem 1.5rem;
}

.tto-login-card .btn-primary {
    background: var(--tto-navy);
    border-color: var(--tto-navy);
}

.tto-login-card .btn-primary:hover {
    background: var(--tto-navy-dark);
    border-color: var(--tto-navy-dark);
}

.tto-login-card .btn-outline-primary {
    border-color: rgba(26, 58, 108, 0.35);
    color: var(--tto-navy);
}

.tto-login-card .btn-outline-primary.active,
.tto-login-card .btn-outline-primary:hover {
    background: var(--tto-navy);
    border-color: var(--tto-navy);
    color: #fff;
}

.tto-login-card .input-group-text {
    background: rgba(26, 58, 108, 0.05);
    border-color: #ced4da;
    color: var(--tto-navy);
}

.tto-login-card #email-domain-addon {
    background: rgba(26, 58, 108, 0.06);
    color: var(--tto-navy);
    font-weight: 600;
}

.tto-login-card .login-box-msg {
    color: var(--tto-navy);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.tto-login-subtitle {
    color: var(--tto-text-muted);
    font-size: 0.92rem;
    line-height: 1.45;
    margin-bottom: 1.15rem;
}

.tto-login-inline-link {
    color: var(--tto-navy);
    font-weight: 600;
    text-decoration: underline;
}

.tto-login-inline-link:hover {
    color: var(--tto-navy-dark);
}

.tto-login-footer {
    color: var(--tto-text-muted);
    font-size: 0.92rem;
    margin-top: 1.25rem;
}

.tto-login-footer-link {
    color: var(--tto-navy);
    font-weight: 600;
}

.tto-login-footer-link:hover {
    color: var(--tto-navy-dark);
    text-decoration: none;
}

.tto-login-card--register {
    max-width: 540px;
}

.tto-login-card--register .login-card-body {
    padding: 1.85rem 1.65rem 1.55rem;
}

.tto-register-notice {
    background: rgba(26, 58, 108, 0.05);
    border: 1px solid rgba(26, 58, 108, 0.1);
    border-left: 3px solid var(--tto-gold);
    border-radius: 0.55rem;
    color: var(--tto-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.35rem;
    padding: 0.8rem 0.95rem;
}

.tto-register-section {
    margin-bottom: 1.35rem;
}

.tto-register-section-title {
    color: var(--tto-navy);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.tto-register-label {
    color: var(--tto-navy);
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.tto-register-type-picker {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tto-register-type-option {
    cursor: pointer;
    margin-bottom: 0;
}

.tto-register-type-option input {
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.tto-register-type-card {
    align-items: center;
    background: #fff;
    border: 2px solid rgba(26, 58, 108, 0.14);
    border-radius: 0.7rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem 0.65rem;
    text-align: center;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.tto-register-type-option:hover .tto-register-type-card {
    border-color: rgba(26, 58, 108, 0.35);
    transform: translateY(-1px);
}

.tto-register-type-option input:checked + .tto-register-type-card {
    background: rgba(26, 58, 108, 0.05);
    border-color: var(--tto-navy);
    box-shadow: 0 8px 20px rgba(26, 58, 108, 0.1);
}

.tto-register-type-card i {
    color: var(--tto-navy);
    font-size: 1.45rem;
    margin-bottom: 0.45rem;
}

.tto-register-type-card strong {
    color: var(--tto-navy);
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.tto-register-type-card small {
    color: var(--tto-text-muted);
    display: block;
    font-size: 0.78rem;
    line-height: 1.35;
}

.tto-register-type-hint {
    line-height: 1.45;
}

.tto-register-actions {
    margin-top: 1.5rem;
}

.tto-register-submit {
    font-weight: 600;
    padding: 0.65rem 1rem;
}

.tto-login-card .form-control:focus {
    border-color: rgba(26, 58, 108, 0.45);
    box-shadow: 0 0 0 0.15rem rgba(26, 58, 108, 0.12);
}

@media (max-width: 991.98px) {
    .tto-public-features-inner {
        grid-template-columns: 1fr;
    }

    .tto-public-stats-grid {
        grid-template-columns: 1fr;
    }

    .tto-public-hero-inner {
        padding-bottom: 3rem;
        padding-top: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .tto-stats-module-header {
        align-items: stretch;
        flex-direction: column;
    }

    .tto-stats-year-picker {
        align-items: stretch;
        width: 100%;
    }

    .tto-stats-year-select {
        width: 100%;
    }

    .tto-stats-metrics {
        gap: 0.5rem;
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .tto-stats-metric {
        padding: 0.6rem 0.35rem;
    }

    .tto-stats-metric-value {
        font-size: 1.15rem;
    }

    .tto-stats-metric-label {
        font-size: 0.66rem;
    }

    .tto-stats-year-panel,
    .tto-stats-totals {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .tto-public-header-inner {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
    }

    .tto-public-brand-group {
        justify-content: center;
    }

    .tto-public-logo-tto {
        max-width: min(240px, 62vw);
    }

    .tto-public-header-actions {
        justify-content: center;
    }

    .tto-public-header-actions .btn {
        flex: 1 1 auto;
        text-align: center;
    }

    .tto-register-type-picker {
        grid-template-columns: 1fr;
    }
}

/* ===== Excel Aktarım (Patent / ÜSİM) ===== */
.tto-aktarim-layout {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}

.tto-aktarim-panel {
    background: #fff;
    border: 1px solid #e4ebf3;
    border-radius: 0.75rem;
    box-shadow: 0 0.08rem 0.35rem rgba(15, 23, 42, 0.045);
    overflow: hidden;
}

.tto-aktarim-panel-head {
    align-items: center;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
    border-bottom: 1px solid #e8eef5;
    display: flex;
    gap: 0.75rem;
    padding: 0.95rem 1.1rem;
}

.tto-aktarim-panel-icon {
    align-items: center;
    background: #eef5ff;
    border-radius: 0.65rem;
    color: #2563eb;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1rem;
    height: 2.5rem;
    justify-content: center;
    width: 2.5rem;
}

.tto-aktarim-panel-icon.is-excel {
    background: #ecfdf3;
    color: #15803d;
}

.tto-aktarim-panel-icon.is-guide {
    background: #fff7ed;
    color: #c2410c;
}

.tto-aktarim-panel-title {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.tto-aktarim-panel-sub {
    color: #64748b;
    font-size: 0.8rem;
    margin: 0.15rem 0 0;
}

.tto-aktarim-panel-body {
    padding: 1.1rem;
}

.tto-aktarim-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tto-aktarim-step {
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #334155;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 600;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
}

.tto-aktarim-step-num {
    align-items: center;
    background: #2563eb;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 700;
    height: 1.25rem;
    justify-content: center;
    width: 1.25rem;
}

.tto-aktarim-dropzone {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border: 1.5px dashed #cbd5e1;
    border-radius: 0.85rem;
    cursor: pointer;
    padding: 1.35rem 1rem;
    position: relative;
    text-align: center;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.tto-aktarim-dropzone:hover,
.tto-aktarim-dropzone.is-dragover {
    background: #f0fdf4;
    border-color: #86efac;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.tto-aktarim-dropzone.has-file {
    background: #f0fdf4;
    border-color: #4ade80;
    border-style: solid;
}

.tto-aktarim-dropzone-input {
    cursor: pointer;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.tto-aktarim-dropzone-icon {
    align-items: center;
    background: #ecfdf3;
    border-radius: 999px;
    color: #16a34a;
    display: inline-flex;
    font-size: 1.35rem;
    height: 3.1rem;
    justify-content: center;
    margin-bottom: 0.7rem;
    width: 3.1rem;
}

.tto-aktarim-dropzone-title {
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.tto-aktarim-dropzone-hint {
    color: #64748b;
    font-size: 0.8rem;
    margin: 0;
}

.tto-aktarim-file-chip {
    align-items: center;
    background: #fff;
    border: 1px solid #bbf7d0;
    border-radius: 0.55rem;
    color: #166534;
    display: none;
    font-size: 0.82rem;
    font-weight: 600;
    gap: 0.45rem;
    justify-content: center;
    margin-top: 0.85rem;
    padding: 0.45rem 0.7rem;
}

.tto-aktarim-dropzone.has-file .tto-aktarim-file-chip {
    display: inline-flex;
}

.tto-aktarim-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.tto-aktarim-btn-primary {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    border: 0;
    border-radius: 0.55rem;
    color: #fff !important;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.55rem 1rem;
}

.tto-aktarim-btn-primary:hover {
    background: linear-gradient(135deg, #172554 0%, #1d4ed8 100%);
    color: #fff !important;
}

.tto-aktarim-btn-ghost {
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 0.55rem;
    color: #334155 !important;
    font-size: 0.84rem;
    font-weight: 650;
    padding: 0.5rem 0.9rem;
}

.tto-aktarim-btn-ghost:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a !important;
}

.tto-aktarim-rules {
    display: grid;
    gap: 0.55rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tto-aktarim-rule {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #e8eef5;
    border-radius: 0.6rem;
    display: flex;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
}

.tto-aktarim-rule-icon {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.45rem;
    color: #2563eb;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.78rem;
    height: 1.7rem;
    justify-content: center;
    margin-top: 0.05rem;
    width: 1.7rem;
}

.tto-aktarim-rule-text {
    color: #334155;
    font-size: 0.82rem;
    line-height: 1.35;
}

.tto-aktarim-rule-text strong {
    color: #0f172a;
}

.tto-aktarim-template-box {
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid #bfdbfe;
    border-radius: 0.65rem;
    margin-top: 0.9rem;
    padding: 0.85rem 0.9rem;
}

.tto-aktarim-template-box p {
    color: #475569;
    font-size: 0.8rem;
    margin: 0 0 0.65rem;
}

.tto-aktarim-hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.tto-aktarim-hero-link {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 999px !important;
    color: #fff !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    padding: 0.35rem 0.8rem !important;
}

.tto-aktarim-hero-link:hover {
    background: rgba(255, 255, 255, 0.24) !important;
    color: #fff !important;
}

.tto-aktarim-stats {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.tto-aktarim-stat {
    background: #fff;
    border: 1px solid #e4ebf3;
    border-radius: 0.7rem;
    box-shadow: 0 0.06rem 0.22rem rgba(15, 23, 42, 0.04);
    padding: 0.85rem 0.9rem;
}

.tto-aktarim-stat-label {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.tto-aktarim-stat-value {
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
}

.tto-aktarim-stat.is-total {
    background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
    border-color: #bfdbfe;
}

.tto-aktarim-stat.is-success {
    background: linear-gradient(135deg, #ecfdf3 0%, #fff 100%);
    border-color: #bbf7d0;
}

.tto-aktarim-stat.is-success .tto-aktarim-stat-value {
    color: #15803d;
}

.tto-aktarim-stat.is-skip {
    background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
    border-color: #fde68a;
}

.tto-aktarim-stat.is-skip .tto-aktarim-stat-value {
    color: #b45309;
}

.tto-aktarim-stat.is-fail {
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
    border-color: #fecaca;
}

.tto-aktarim-stat.is-fail .tto-aktarim-stat-value {
    color: #b91c1c;
}

.tto-aktarim-result-panel {
    background: #fff;
    border: 1px solid #e4ebf3;
    border-radius: 0.75rem;
    overflow: hidden;
}

.tto-aktarim-result-panel .patent-module-list-table-wrap {
    margin: 0;
}

.tto-aktarim-status {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.28rem 0.55rem;
}

.tto-aktarim-status.is-success {
    background: #dcfce7;
    color: #166534;
}

.tto-aktarim-status.is-skipped {
    background: #fef3c7;
    color: #92400e;
}

.tto-aktarim-status.is-failed {
    background: #fee2e2;
    color: #991b1b;
}

.tto-aktarim-result-action {
    align-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.45rem;
    color: #1d4ed8 !important;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 700;
    gap: 0.3rem;
    padding: 0.28rem 0.55rem;
    text-decoration: none !important;
}

.tto-aktarim-result-action:hover {
    background: #dbeafe;
    color: #1e40af !important;
}

@media (max-width: 991.98px) {
    .tto-aktarim-layout {
        grid-template-columns: 1fr;
    }

    .tto-aktarim-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .tto-aktarim-stats {
        grid-template-columns: 1fr;
    }
}
