/* Editör dashboard */

.editor-dashboard {
    min-height: 100vh;
    color: var(--color-text);
    background: var(--color-background);
}

.editor-dashboard-container {
    width: min(
        calc(100% - 40px),
        var(--container-width)
    );
    margin-inline: auto;
}

/* Hero */

.editor-dashboard-hero {
    padding: 32px 0 78px;
    color: #fff;
    background:#212121;
}

.editor-dashboard-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 48px;
    color: rgb(255 255 255 / 43%);
    font-size: 9px;
    font-weight: 750;
}

.editor-dashboard-breadcrumb a {
    color: rgb(255 255 255 / 68%);
    text-decoration: none;
}

.editor-dashboard-breadcrumb a:hover {
    color: #fff;
}

.editor-dashboard-hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(290px, 0.42fr);
    align-items: end;
    gap: 70px;
}

.editor-dashboard-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #ff939d;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.editor-dashboard-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 6vw, 70px);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.editor-dashboard-hero h1 em {
    display: block;
    color: #ff7784;
    font-family: inherit;
    font-style: normal;
}

.editor-dashboard-hero-grid > div > p {
    max-width: 690px;
    margin: 22px 0 0;
    color: rgb(255 255 255 / 62%);
    font-size: 12px;
    line-height: 1.8;
}

.editor-dashboard-profile-state {
    padding: 21px;
    background: rgb(255 255 255 / 6%);
    border: 1px solid rgb(255 255 255 / 15%);
    border-top: 3px solid var(--color-primary);
}

.editor-dashboard-profile-state > span {
    display: block;
    color: rgb(255 255 255 / 46%);
    font-size: 7px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.editor-dashboard-profile-state strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 16px;
}

.editor-dashboard-profile-state p {
    margin: 9px 0 0;
    color: rgb(255 255 255 / 57%);
    font-size: 8px;
    line-height: 1.65;
}

/* Bildirim */

.editor-dashboard-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 15px 17px;
    color: #076047;
    background: #ecfdf5;
    border: 1px solid #abe8d5;
    border-left: 4px solid #0b956d;
    font-size: 9px;
    font-weight: 750;
}

.editor-dashboard-alert svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

/* İstatistikler */

.editor-dashboard-statistics {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    margin-top: -25px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
    gap: 1px;
}

.editor-dashboard-statistics article {
    position: relative;
    min-height: 112px;
    padding: 21px;
    background: var(--color-surface);
}

.editor-dashboard-statistics article::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--color-primary);
    content: "";
}

.editor-dashboard-statistics span {
    display: block;
    color: var(--color-text-muted);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.editor-dashboard-statistics strong {
    display: block;
    margin-top: 17px;
    color: var(--color-text);
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.05em;
}

/* Görevler */

.editor-dashboard-assignments {
    padding: 75px 0 100px;
}

.editor-dashboard-section-heading {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 0.45fr);
    align-items: end;
    gap: 50px;
    margin-bottom: 30px;
}

.editor-dashboard-section-heading span {
    display: block;
    margin-bottom: 6px;
    color: var(--color-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.editor-dashboard-section-heading h2 {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(29px, 4vw, 43px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.editor-dashboard-section-heading > p {
    margin: 0;
    color: var(--color-text-soft);
    font-size: 9px;
    line-height: 1.7;
}

.editor-dashboard-assignment-list {
    display: grid;
    background: var(--color-border);
    border: 1px solid var(--color-border);
    gap: 1px;
}

.editor-dashboard-assignment {
    position: relative;
    display: grid;
    grid-template-columns:
        100px
        minmax(0, 1fr)
        minmax(155px, auto);
    align-items: center;
    gap: 24px;
    padding: 21px;
    background: var(--color-surface);
}

.editor-dashboard-assignment::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: #8b96a5;
    content: "";
}

.editor-dashboard-assignment.is-assigned::before {
    background: #2866d3;
}

.editor-dashboard-assignment.is-in_progress::before,
.editor-dashboard-assignment.is-revision_requested::before {
    background: #c67d0e;
}

.editor-dashboard-assignment.is-submitted::before {
    background: #7958c7;
}

.editor-dashboard-assignment.is-approved::before {
    background: #0b956d;
}

.editor-dashboard-poster {
    display: grid;
    width: 100px;
    height: 150px;
    place-items: center;
    overflow: hidden;
    color: #fff;
    background: var(--color-text);
    font-size: 25px;
    font-weight: 850;
}

.editor-dashboard-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editor-dashboard-assignment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 15px;
}

.editor-dashboard-assignment-meta span {
    position: relative;
    color: var(--color-primary);
    font-size: 7px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.editor-dashboard-assignment-meta span:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -9px;
    width: 3px;
    height: 3px;
    background: var(--color-border-strong);
    content: "";
    transform: translateY(-50%);
}

.editor-dashboard-assignment-content h3 {
    margin: 8px 0 9px;
    color: var(--color-text);
    font-size: 21px;
    letter-spacing: -0.035em;
}

.editor-dashboard-assignment-content > p {
    max-width: 670px;
    margin: 0;
    color: var(--color-text-soft);
    font-size: 9px;
    line-height: 1.65;
}

.editor-dashboard-assignment-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 17px;
}

.editor-dashboard-assignment-dates span,
.editor-dashboard-assignment-dates strong {
    display: block;
}

.editor-dashboard-assignment-dates span {
    margin-bottom: 4px;
    color: var(--color-text-muted);
    font-size: 6px;
    font-weight: 850;
    text-transform: uppercase;
}

.editor-dashboard-assignment-dates strong {
    color: var(--color-text-soft);
    font-size: 8px;
}

.editor-dashboard-feedback {
    margin-top: 17px;
    padding: 13px 15px;
    background: #fff8e8;
    border-left: 3px solid #c67d0e;
}

.editor-dashboard-feedback strong {
    display: block;
    margin-bottom: 5px;
    color: #84530b;
    font-size: 8px;
}

.editor-dashboard-feedback p {
    margin: 0;
    color: #765e38;
    font-size: 8px;
    line-height: 1.6;
}

/* Görev işlemi */

.editor-dashboard-assignment-action {
    display: flex;
    justify-content: flex-end;
}

.editor-dashboard-assignment-action button,
.editor-dashboard-assignment-action > span {
    display: inline-flex;
    min-height: 41px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 14px;
    font-size: 8px;
    font-weight: 850;
    white-space: nowrap;
}

.editor-dashboard-assignment-action button {
    color: #fff;
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    cursor: pointer;
    font: inherit;
}

.editor-dashboard-assignment-action button:hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
}

.editor-dashboard-assignment-action button svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.editor-dashboard-assignment-action > span {
    color: var(--color-text-soft);
    background: var(--color-background-soft);
    border: 1px solid var(--color-border);
}

.editor-dashboard-assignment-action .is-working {
    color: #8a580c;
    background: #fff8e8;
    border-color: #ead29f;
}

.editor-dashboard-assignment-action .is-submitted {
    color: #6745a5;
    background: #f5f0ff;
    border-color: #d9cdf1;
}

.editor-dashboard-assignment-action .is-approved {
    color: #087356;
    background: #ebfaf4;
    border-color: #bce6d7;
}

/* Boş durum */

.editor-dashboard-empty {
    display: grid;
    min-height: 350px;
    place-items: center;
    align-content: center;
    padding: 40px;
    text-align: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.editor-dashboard-empty > span {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    place-items: center;
    color: var(--color-primary);
    background: var(--color-primary-soft);
}

.editor-dashboard-empty svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.editor-dashboard-empty h2 {
    margin: 0;
    font-size: 22px;
}

.editor-dashboard-empty p {
    max-width: 430px;
    margin: 9px 0 0;
    color: var(--color-text-soft);
    font-size: 9px;
    line-height: 1.7;
}

/* Responsive */

@media (max-width: 900px) {
    .editor-dashboard-hero-grid,
    .editor-dashboard-section-heading {
        grid-template-columns: 1fr;
    }

    .editor-dashboard-profile-state {
        max-width: 500px;
    }

    .editor-dashboard-assignment {
        grid-template-columns:
            90px
            minmax(0, 1fr);
    }

    .editor-dashboard-poster {
        width: 90px;
        height: 135px;
    }

    .editor-dashboard-assignment-action {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 650px) {
    .editor-dashboard-container {
        width: min(
            calc(100% - 28px),
            var(--container-width)
        );
    }

    .editor-dashboard-statistics {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .editor-dashboard-assignment {
        grid-template-columns: 1fr;
    }

    .editor-dashboard-poster {
        width: 82px;
        height: 123px;
    }

    .editor-dashboard-assignment-action {
        grid-column: 1;
    }
}

@media (max-width: 420px) {
    .editor-dashboard-statistics {
        grid-template-columns: 1fr;
    }

    .editor-dashboard-assignment-action form,
    .editor-dashboard-assignment-action button,
    .editor-dashboard-assignment-action > span {
        width: 100%;
    }
}

.editor-dashboard-edit-action {
    display: inline-flex;
    min-height: 41px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 14px;
    color: #fff;
    background: #c67d0e;
    border: 1px solid #c67d0e;
    font-size: 8px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.editor-dashboard-edit-action:hover {
    color: #fff;
    background: var(--color-text);
    border-color: var(--color-text);
}

.editor-dashboard-edit-action svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}