:root {
    --ink: #1b2432;
    --slate: #5b6b7c;
    --line: #e3e8ee;
    --bg: #f4f6f8;
    --panel: #ffffff;
    --navy: #0b2545;
    --navy-2: #13355c;
    --teal: #2b5d6b;
    --gold: #b8902f;
    --warn: #b45309;
    --danger: #b91c1c;
    --ok: #15803d;
    --radius: 8px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.6;
}

/* ---------- header: 상단 브랜드 바 (남색, 로고는 흰 카드로 강조) ---------- */
header.topbar {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand-logo-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 7px 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.22);
}
.brand-logo { height: 28px; width: auto; display: block; }
.brand-divider { width: 1px; height: 24px; background: rgba(255,255,255,0.22); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text small { font-size: 14px; color: #fff; font-weight: 700; letter-spacing: -0.1px; }

/* ---------- 하단 서브바: 메뉴 + 사용자 정보 ---------- */
nav.subbar {
    background: var(--navy-2);
    padding: 0 24px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 48px;
    box-shadow: 0 2px 8px rgba(11,37,69,0.25);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.subbar .tabs {
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 13.5px;
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.subbar .tabs::-webkit-scrollbar { display: none; }
.subbar .tabs a { color: #c3d2e3; text-decoration: none; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.subbar .tabs a:hover { color: #fff; border-bottom-color: var(--gold); }
.subbar .user-box { flex: 0 0 auto; white-space: nowrap; }

.user-box { display: flex; align-items: center; gap: 14px; font-size: 12.5px; }
.user-name { color: #dce6f0; display: flex; align-items: center; gap: 6px; }
.user-link { color: #9db3ca; text-decoration: none; }
.user-link:hover { color: #fff; }
.role-chip { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.role-chip.admin { background: rgba(184,144,47,0.25); color: #f0d68a; }
.role-chip.staff { background: rgba(255,255,255,0.15); color: #dce6f0; }

/* ---------- layout ---------- */
main { max-width: 1040px; margin: 0 auto; padding: 30px 24px 70px; }
h1 { font-size: 23px; margin: 0 0 4px; letter-spacing: -0.3px; }
h2 { font-size: 16.5px; margin: 26px 0 10px; color: var(--navy-2); font-weight: 700; }
.subtitle { color: var(--slate); font-size: 13px; margin-bottom: 20px; }

.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }

.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin-bottom: 18px;
    box-shadow: 0 1px 2px rgba(16,24,40,0.03);
}

.flash { padding: 10px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 13.5px; font-weight: 600; }
.flash.error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.flash.ok { background: #f0fdf4; color: var(--ok); border: 1px solid #bbf7d0; }

/* ---------- form elements ---------- */
input[type=text], input[type=tel], input[type=password], textarea, select {
    padding: 9px 11px; border: 1px solid #cbd5e1; border-radius: var(--radius);
    font-size: 14px; font-family: inherit; width: 100%; background: #fff;
}
input[type=file] { width: 100%; padding: 9px 0; }
textarea { resize: vertical; min-height: 70px; }
label { display: block; font-size: 13px; color: var(--slate); margin: 12px 0 5px; font-weight: 600; }

button, .btn {
    background: var(--navy); color: #fff; border: none; padding: 9px 16px;
    border-radius: var(--radius); font-size: 14px; cursor: pointer; text-decoration: none;
    display: inline-block; font-weight: 600; transition: background 0.15s;
}
button:hover, .btn:hover { background: var(--navy-2); }
.btn.secondary { background: #64748b; }
.btn.secondary:hover { background: #475569; }
.btn.danger { background: #fff; color: var(--danger); border: 1px solid #fca5a5; }
.btn.danger:hover { background: #fef2f2; }

.dept-filter select { min-width: 160px; }
.search-box { display: flex; gap: 8px; }

/* ---------- table ---------- */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--slate); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap; }
table.table-fixed { table-layout: fixed; }
td.truncate, th.truncate { max-width: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
tr:hover td { background: #f8fafc; }
a { color: var(--teal); }

/* ---------- status badge ---------- */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge.접수 { background: #fef3c7; color: var(--warn); }
.badge.처리중 { background: #dbeafe; color: #1d4ed8; }
.badge.완료 { background: #dcfce7; color: var(--ok); }
.badge.open { background: #fef3c7; color: var(--warn); }
.badge.reflected { background: #dcfce7; color: var(--ok); }
.badge.archived { background: #f1f5f9; color: var(--slate); }

/* ---------- category chip ---------- */
.cat-chip {
    display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
    background: color-mix(in srgb, var(--chip-color) 14%, white);
    color: var(--chip-color);
    border: 1px solid color-mix(in srgb, var(--chip-color) 35%, white);
}
.cat-chip.lg { font-size: 14px; padding: 6px 14px; }

.cat-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cat-option {
    display: flex; align-items: center; gap: 6px; padding: 6px 12px;
    border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
    font-size: 13px; font-weight: 600; color: var(--slate); margin: 0;
}
.cat-option input { width: auto; accent-color: var(--chip-color); margin: 0; }
.cat-option:has(input:checked) {
    background: color-mix(in srgb, var(--chip-color) 14%, white);
    color: var(--chip-color);
    border-color: color-mix(in srgb, var(--chip-color) 45%, white);
}

/* ---------- alerts / timeline ---------- */
.call-alert {
    background: #fef2f2; border: 1px solid #fecaca; color: var(--danger);
    padding: 10px 14px; border-radius: var(--radius); font-weight: 700; font-size: 14px; margin-bottom: 16px;
}
.timeline-item { border-left: 2px solid var(--line); padding: 4px 0 12px 16px; margin-left: 4px; font-size: 14px; }
.timeline-item .meta { color: var(--slate); font-size: 12px; }
.empty { color: var(--slate); font-size: 14px; padding: 16px 0; }

/* ---------- photos ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 10px; }
.photo-grid img { width: 100%; height: 110px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }

/* ---------- 사진/동영상 그리드 (업로드일시 + 다운로드 버튼 포함) ---------- */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-top: 10px; }
.media-item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.media-item img, .media-item video { width: 100%; height: 120px; object-fit: cover; display: block; cursor: zoom-in; background: #000; }
.media-item .media-meta {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 8px; font-size: 11px; color: var(--slate); border-top: 1px solid var(--line);
}
.media-item .media-dl { color: var(--navy-2); text-decoration: none; font-weight: 600; }
.media-item .media-dl:hover { text-decoration: underline; }

/* ---------- district list ---------- */
.district-list { list-style: none; padding: 0; margin: 0; }
.district-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.district-list a { font-weight: 700; text-decoration: none; color: var(--navy-2); }
.district-address { color: #94a3b8; font-size: 13px; margin-top: 3px; line-height: 1.5; }

/* ---------- stat cards ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat-card {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px 20px; text-align: left; border-top: 3px solid var(--gold);
}
.stat-num { font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -0.5px; }
.stat-label { font-size: 12.5px; color: var(--slate); margin-top: 4px; font-weight: 600; }

/* ---------- analytics ---------- */
.tip-panel { background: #fffbeb; border-color: #fde68a; }
.tip-item { font-size: 14px; padding: 6px 0; color: #92400e; font-weight: 600; }
.chart-row { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.chart-box { width: 260px; height: 260px; flex-shrink: 0; }
.chart-box.tall { width: 100%; height: 320px; }

/* ---------- auth pages ---------- */
.auth-wrap { display: flex; justify-content: center; padding-top: 40px; }
.auth-panel {
    background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
    padding: 36px 34px; width: 100%; max-width: 380px; text-align: center;
    box-shadow: 0 8px 24px rgba(11,37,69,0.08);
}
.auth-mark {
    width: 52px; height: 52px; border-radius: 12px; margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: var(--gold); display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 22px;
}
.auth-panel h1 { text-align: center; }
.auth-panel form { text-align: left; margin-top: 18px; }
.auth-foot { margin-top: 18px; font-size: 13px; color: var(--slate); }

/* 비밀번호 표시/숨기기 토글 */
.pw-field { position: relative; }
.pw-field input { padding-right: 42px; }
.pw-toggle {
    position: absolute; top: 50%; right: 4px; transform: translateY(-50%);
    background: none; color: var(--slate); border: none; border-radius: 999px;
    width: 34px; height: 34px; padding: 0; display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.pw-toggle:hover { background: #f1f5f9; color: var(--navy); }
.pw-toggle svg { width: 19px; height: 19px; }

/* 입력창 포커스 시 피드백 */
input[type=text]:focus, input[type=tel]:focus, input[type=password]:focus,
textarea:focus, select:focus {
    outline: none; border-color: var(--navy-2);
    box-shadow: 0 0 0 3px rgba(11,37,69,0.12);
}

/* ---------- lightbox ---------- */
.lightbox {
    display: none; position: fixed; inset: 0; background: rgba(11,37,69,0.92);
    z-index: 999; align-items: center; justify-content: center; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 4px; box-shadow: 0 8px 40px rgba(0,0,0,0.5); }
.lightbox-close {
    position: absolute; top: 20px; right: 32px; color: #fff; font-size: 36px;
    font-weight: 300; cursor: pointer; line-height: 1;
}
.photo-grid img { cursor: zoom-in; }

/* ---------- 승인대기/관리사무소 배지 ---------- */
.role-chip.office { background: rgba(43,93,107,0.2); color: #6ee7d4; }
.role-chip.resident { background: #e0e7ff; color: #4338ca; }
.pending-badge {
    display: inline-block; background: #fef3c7; color: #92400e; font-weight: 700;
    font-size: 11px; padding: 1px 7px; border-radius: 999px; margin-left: 6px;
}

/* ---------- 실시설계 반영 카드 ---------- */
.feedback-card {
    border-left: 4px solid var(--chip-color, #0B2545); background: #f8fafc;
    border-radius: 6px; padding: 14px 18px; margin-bottom: 12px;
}
.feedback-card h3 { margin: 0 0 6px; font-size: 15px; color: var(--navy-2); }
.feedback-card .fb-ratio { font-size: 12px; color: #64748b; margin-bottom: 8px; }
.feedback-card .fb-row { font-size: 13.5px; margin: 4px 0; line-height: 1.6; }
.feedback-card .fb-row b { color: #334155; }

.account-type-toggle { display: flex; gap: 10px; margin-top: 4px; }
.account-type-toggle label {
    flex: 1; text-align: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius);
    cursor: pointer; font-size: 13px; font-weight: 600; color: var(--slate);
}
.account-type-toggle input { display: none; }
.account-type-toggle input:checked + span { color: var(--navy); }
.account-type-toggle label:has(input:checked) { border-color: var(--navy); background: #eef2f7; color: var(--navy); }

.district-checklist {
    max-height: 200px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 10px 14px; margin-top: 4px;
}
.district-checklist label { display: block; font-weight: 400; font-size: 13.5px; color: #1F2937; margin: 4px 0; }

/* 상단 메뉴(.subbar .tabs)는 flex + overflow-x:auto 구조라 화면이 좁아져도
   자동으로 가로 스크롤될 뿐 겹치지 않으므로, 별도의 좁은너비 보정 규칙이 불필요함 */

/* ---------- 모바일 반응형 (앱처럼 보이도록) ---------- */
@media (max-width: 720px) {
    header.topbar { padding: 10px 14px; }
    .brand-logo { height: 22px; }
    .brand-logo-card { padding: 5px 10px; }
    .brand-divider { height: 20px; }
    .brand-text small { font-size: 11.5px; }

    nav.subbar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        height: auto;
        padding: 8px 12px;
        row-gap: 8px;
    }
    .subbar .tabs {
        justify-content: flex-start;
        width: 100%;
        gap: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
        scrollbar-width: none;
        order: 2;
        /* 오른쪽 끝이 뚝 잘려 보이지 않고 자연스럽게 흐려지도록 해서
           "더 스크롤할 항목이 있다"는 걸 시각적으로 알려줌 */
        mask-image: linear-gradient(to right, black calc(100% - 22px), transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black calc(100% - 22px), transparent 100%);
    }
    .subbar .tabs::-webkit-scrollbar { display: none; }
    .subbar .tabs a {
        flex: 0 0 auto;
        padding: 6px 10px;
        font-size: 12.5px;
        white-space: nowrap;
    }
    .user-box { font-size: 11.5px; gap: 8px; order: 1; width: 100%; justify-content: space-between; display: flex; }
    .user-name { flex-wrap: wrap; }

    main { padding: 16px 12px 90px; }
    h1 { font-size: 19px; }
    .page-head { flex-direction: column; align-items: stretch; gap: 10px; }
    .page-head > div:last-child { display: flex; gap: 8px; }

    .panel { padding: 16px; }
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .stat-num { font-size: 22px; }

    table { display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }

    /* 데이터 많은 표(문자현황, 최근 접수된 민원)는 가로스크롤 대신
       한 줄씩 라벨:값 형태의 카드로 쌓아서 보여줌 (좌우로 안 밀어도 다 보이게) */
    table.mobile-card-table { display: block; overflow-x: visible; white-space: normal; }
    table.mobile-card-table tr:first-child { display: none; }
    table.mobile-card-table tr {
        display: block;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        padding: 10px 12px;
        margin-bottom: 10px;
        background: #fff;
    }
    table.mobile-card-table tr:hover { background: #fff; }
    table.mobile-card-table td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
        padding: 6px 0;
        border: none;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
        max-width: none !important;
        font-size: 13px;
    }
    table.mobile-card-table td > * { flex-shrink: 0; max-width: 100%; }
    table.mobile-card-table td[data-label="수신번호"] { white-space: nowrap !important; }
    table.mobile-card-table td + td { border-top: 1px solid #F1F5F9; }
    table.mobile-card-table td[data-label]::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--slate);
        font-size: 11px;
        flex-shrink: 0;
        min-width: 64px;
        padding-top: 1px;
    }
    table.mobile-card-table td[data-label] > * { text-align: right; }
    table.mobile-card-table td.mct-full {
        display: block;
    }
    table.mobile-card-table td.mct-full::before {
        content: attr(data-label);
        display: block;
        font-weight: 700;
        color: var(--slate);
        font-size: 11px;
        margin-bottom: 3px;
    }
    /* mct-full(전체너비) 필드는 라벨 아래 내용을 자연스럽게 왼쪽 정렬 */
    table.mobile-card-table td.mct-full,
    table.mobile-card-table td.mct-full > * { text-align: left; }

    .cat-picker { gap: 6px; }
    .cat-option { padding: 5px 10px; font-size: 12px; }

    button, .btn { padding: 11px 16px; font-size: 15px; }  /* 터치하기 편한 크기 */
    input[type=text], input[type=tel], input[type=password], textarea, select {
        font-size: 16px;  /* iOS에서 16px 미만이면 입력 시 자동 확대되는 것 방지 */
        padding: 11px 12px;
    }

    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .auth-panel { padding: 28px 22px; }

    /* 뒤로가기 링크: 모바일에서 터치 영역을 넉넉하게 */
    .back-link { font-size: 14px; padding: 6px 0; margin-bottom: 8px; }

    /* 로그인 화면: 위쪽 여백을 줄이고 패널을 화면 가운데로 (앱 스플래시 느낌) */
    .auth-wrap { padding-top: 20px; min-height: calc(100vh - 170px); align-items: center; }
    .auth-foot { font-size: 13.5px; line-height: 1.8; }
    .checkbox-label { padding: 3px 0; }
}

/* iOS 안전영역(노치) 대응 */
@supports (padding: max(0px)) {
    header.topbar {
        padding-left: max(14px, env(safe-area-inset-left));
        padding-right: max(14px, env(safe-area-inset-right));
        padding-top: max(10px, env(safe-area-inset-top));
    }
    main { padding-bottom: max(90px, env(safe-area-inset-bottom)); }
}

/* ---------- 입주민 포털: 민원 카드 목록 ---------- */
.resident-card-list { display: flex; flex-direction: column; gap: 10px; }
.resident-card {
    display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px 18px; text-decoration: none; color: inherit; transition: box-shadow 0.15s, border-color 0.15s;
}
.resident-card:hover { box-shadow: 0 2px 10px rgba(11,37,69,0.08); border-color: var(--navy); }
.resident-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.resident-card-title { font-size: 15px; font-weight: 700; color: #1F2937; margin-bottom: 4px; }
.resident-card-meta { font-size: 12.5px; color: var(--slate); }

/* ---------- 민원인 이름 + 정보 세로 정렬 (모바일에서도 줄바꿈 없이) ---------- */
h1.entity-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.info-stack { margin-top: 6px; }
.info-row {
    font-size: 13px;
    color: var(--slate);
    line-height: 1.6;
}

/* ---------- 메인화면 히어로 배너 (조감도) ---------- */
.hero-banner {
    position: relative;
    display: flex;
    height: 230px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: 0 6px 24px rgba(11,37,69,0.18);
    background: var(--navy);
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-image-single { object-position: center 40%; }

@media (max-width: 720px) {
    .hero-banner { height: 150px; border-radius: 10px; margin-bottom: 16px; }
}


/* ---------- 문자 발송 서식 미리보기 ---------- */
.sms-preview-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sms-preview-label { font-size: 12.5px; font-weight: 700; color: var(--navy-2); margin-bottom: 8px; }
.sms-preview-bubble {
    background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; border-top-left-radius: 2px;
    padding: 14px 16px; font-size: 13px; line-height: 1.7; color: #1F2937; white-space: pre-line;
}
@media (max-width: 720px) {
    .sms-preview-row { grid-template-columns: 1fr; }
}

/* ---------- 로그인 화면 체크박스 ---------- */
.checkbox-label {
    display: flex; align-items: center; gap: 6px; font-weight: 400 !important;
    font-size: 13px; color: var(--slate); margin: 6px 0 14px !important;
}
.checkbox-label input[type=checkbox] { width: auto; margin: 0; }

/* ---------- SMS 전체 내용 모달 ---------- */
.sms-modal-box {
    background: #fff; border-radius: 12px; max-width: 480px; width: 90%;
    max-height: 80vh; overflow-y: auto; box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.sms-modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--navy-2);
}
#smsMessageContent {
    padding: 18px; margin: 0; white-space: pre-wrap; font-family: inherit; font-size: 13.5px;
    line-height: 1.7; color: #1F2937;
}

/* ---------- 뒤로가기 버튼 ---------- */
.back-link {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 13px; color: var(--slate); text-decoration: none; font-weight: 600;
    margin-bottom: 12px;
}
.back-link:hover { color: var(--navy-2); text-decoration: underline; }

/* ---------- 문서 파일(한글/PDF/CAD) 카드 ---------- */
.media-doc {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; height: 120px; background: #F8FAFC; text-decoration: none;
    border-bottom: 1px solid var(--line);
}
.media-doc-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 40px; border-radius: 8px;
    background: color-mix(in srgb, var(--doc-color) 14%, white);
    color: var(--doc-color); border: 1px solid color-mix(in srgb, var(--doc-color) 35%, white);
    font-weight: 800; font-size: 12px; letter-spacing: 0.3px;
}
.media-doc-name {
    font-size: 11.5px; color: #475569; text-align: center; padding: 0 10px;
    max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
