/* Dijiben — Yönetim paneline özel eklemeler (temel stil: panel.css + setup.css) */

.a-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    background: #18181b;
    padding: 3px 7px;
    border-radius: 6px;
    margin-left: 8px;
    vertical-align: 4px;
}

.p-flash--warn {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #78350f;
}

.p-flash--warn a {
    color: inherit;
    font-weight: 600;
}

.a-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--s-line);
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.a-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--s-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
}

.a-tabs a:hover {
    color: var(--s-ink);
}

.a-tabs a.is-on {
    color: var(--s-ink);
    border-bottom-color: var(--s-ink);
}

.a-tabs em {
    font-style: normal;
    font-size: 11.5px;
    background: #f0f0ed;
    padding: 1px 7px;
    border-radius: 99px;
}

.a-small {
    font-size: 15px !important;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.a-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

@media (min-width: 1100px) {
    .a-grid {
        grid-template-columns: minmax(0, 1fr) 360px;
    }
}

.a-side,
.a-stack {
    display: grid;
    gap: 20px;
}

.a-stack {
    max-width: 860px;
}

.a-sec-h {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.a-inline {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.a-inline .form-control {
    flex: 1;
    min-width: 0;
}

@media (max-width: 575.98px) {
    .a-inline--3 {
        flex-direction: column;
    }
}

.a-mini {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--s-line);
    border-radius: 12px;
}

.a-mini li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 8px 10px 14px;
}

.a-mini li + li {
    border-top: 1px solid var(--s-line);
}

.a-mini a,
.a-mini span {
    color: var(--s-ink);
    text-decoration: none;
    font-weight: 500;
    min-width: 0;
}

.a-mini small {
    display: block;
    font-weight: 400;
    color: var(--s-muted);
    font-size: 12.5px;
}

.a-mini form {
    margin: 0;
}

.a-warn {
    color: #b45309 !important;
}

.a-myip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fafaf9;
    border: 1px solid var(--s-line);
    margin-bottom: 14px;
    font-size: 14px;
}

.a-myip form {
    margin: 0;
}

.a-danger {
    border-color: #f3c7c3;
}

.a-danger h2 {
    color: var(--s-danger);
}

.btn-danger {
    --bs-btn-bg: #b42318;
    --bs-btn-border-color: #b42318;
    --bs-btn-hover-bg: #912018;
    --bs-btn-hover-border-color: #912018;
}

.a-result {
    margin-bottom: 20px;
    border-color: #b7ebcb;
}

.a-result-h {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--s-line);
}

.a-result-h h2 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 4px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.a-result-h h2 i {
    color: var(--s-ok);
}

.a-result .p-list {
    max-height: 360px;
    overflow-y: auto;
}

.a-created {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 8px 20px;
}

.a-created code {
    color: var(--s-ink);
    font-size: 13.5px;
}

.a-teamrow {
    display: flex;
    align-items: center;
}

.a-teamrow .p-row {
    flex: 1;
    min-width: 0;
}

.a-teamrow form {
    margin: 0 10px 0 0;
}

.a-table-wrap {
    overflow-x: auto;
}

.a-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.a-table th {
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--s-muted);
    padding: 10px 12px;
    border-bottom: 1px solid var(--s-line);
    background: #fafaf9;
    position: sticky;
    top: 0;
}

.a-table td {
    padding: 6px 8px;
    border-bottom: 1px solid var(--s-line);
    vertical-align: top;
    min-width: 220px;
}

.a-table td:first-child {
    min-width: 170px;
    padding-left: 16px;
    padding-top: 14px;
}

.a-table td:first-child code {
    color: var(--s-ink);
    font-size: 12.5px;
    word-break: break-all;
}

.a-cell {
    height: 40px !important;
    min-height: 40px;
    font-size: 14px;
    padding: 9px 10px;
    resize: vertical;
}

.a-cell::placeholder {
    color: #b4b4b0;
}

.a-body code {
    color: var(--s-ink);
    background: #f0f0ed;
    padding: 1px 6px;
    border-radius: 5px;
    font-size: .88em;
}
