/* ==========================================================================
   Modern student exam theme
   Loaded after css-aptStyle.css in views/std_exam/header.php.
   Part 1 restyles the classes the existing exam screens already use
   (question_view / code_question_view are JS-driven, so their markup is left
   alone). Part 2 is the new components (.ex-*) used by the exam list,
   instruction and finish pages.
   ========================================================================== */

:root {
    --ex-bg: #f1f5f9;
    --ex-surface: #ffffff;
    --ex-border: #e2e8f0;
    --ex-border-soft: #eef2f7;
    --ex-text: #0f172a;
    --ex-text-2: #475569;
    --ex-text-3: #94a3b8;
    --ex-primary: #2563eb;
    --ex-primary-600: #1d4ed8;
    --ex-primary-50: #eff6ff;
    --ex-accent: #f5b301;
    --ex-ink: #0f172a;
    --ex-green: #059669;
    --ex-green-50: #ecfdf5;
    --ex-red: #dc2626;
    --ex-red-50: #fef2f2;
    --ex-radius: 14px;
    --ex-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 14px rgba(15, 23, 42, .06);
    --ex-font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

body {
    background: var(--ex-bg);
    color: var(--ex-text);
    font-family: var(--ex-font);
    -webkit-font-smoothing: antialiased;
}
a { font-family: var(--ex-font); }

/* ---------------------------------------------------------------- Part 1 */

/* Top brand bar */
.AptStTopLine {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 10px 24px;
    border-radius: 0;
    background: var(--ex-surface);
    border-bottom: 1px solid var(--ex-border);
    color: var(--ex-text);
}
.AptStTopLine > img { height: 42px; width: auto; }
.AptStTopLineBrand { display: flex; flex-direction: column; line-height: 1.2; }
.AptStBrandName {
    width: auto; padding: 0; border-radius: 0; background: none;
    color: var(--ex-text-3); font-size: 11px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; font-variant: normal; text-align: left;
}
.AptStCompName {
    margin: 0; padding: 0; border: 0; background: none;
    color: var(--ex-text); font-family: var(--ex-font); font-size: 16px; font-weight: 700; text-align: left;
}
.AptStTimer { margin-left: auto; float: none; }

/* Exam title bar (dark) */
.AptStTopicLine {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 0;
    padding: 12px 24px;
    border-radius: 0;
    background: var(--ex-ink);
    color: #ffffff;
    font-family: var(--ex-font);
    font-size: 14.5px;
    font-weight: 600;
}
.aptTitle { margin: 0; flex: 1; min-width: 0; line-height: 1.45; }
.aptTitle .AboutQuizInScreen > span:first-child { font-weight: 700; color: #fcd34d; }
.aptUser { float: none; order: 2; color: rgba(255, 255, 255, .75); font-weight: 500; }
.aptLogout { float: none; order: 3; margin: 0; font-family: var(--ex-font); }
.aptLogout a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    color: #ffffff !important;
    font-family: var(--ex-font); font-size: 13.5px; font-weight: 700;
    transition: background-color .15s ease;
}
.aptLogout a:hover { background: rgba(255, 255, 255, .16); }
#FinishTest a {
    background: var(--ex-accent);
    border-color: var(--ex-accent);
    color: var(--ex-ink) !important;
}
#FinishTest a:hover { background: #fcd34d; }
#FinishTest a strong { color: var(--ex-ink) !important; }

/* Section tabs above multi-part exams */
.listexams { display: flex !important; gap: 8px; margin: 0 !important; padding: 12px 24px 0 !important; background: transparent !important; flex-wrap: wrap; }
.listexams .item {
    padding: 10px 16px !important;
    border: 1px solid var(--ex-border) !important;
    border-radius: 12px;
    background: var(--ex-surface) !important;
}
.listexams .item .artDataPrimary { color: var(--ex-text) !important; font-size: 14px; font-weight: 700; }
.listexams .item .AboutQuizInScreen { color: var(--ex-text-3) !important; font-size: 12.5px; }
.listexams .item.active { background: var(--ex-primary) !important; border-color: var(--ex-primary) !important; }
.listexams .item.active .artDataPrimary,
.listexams .item.active .AboutQuizInScreen { color: #ffffff !important; }

/* Layout: question area + side panel */
.AptMain { gap: 18px; width: auto; margin: 0; padding: 18px 24px 40px; align-items: flex-start; }
.AptContent, .AptContentOnly {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 22px 24px;
    border: 1px solid var(--ex-border);
    border-radius: var(--ex-radius);
    background: var(--ex-surface);
    box-shadow: var(--ex-shadow);
}
.AptSideBar {
    width: 290px;
    flex-shrink: 0;
    margin: 0;
    padding: 18px;
    border: 1px solid var(--ex-border);
    border-radius: var(--ex-radius);
    background: var(--ex-surface);
    box-shadow: var(--ex-shadow);
    position: sticky;
    top: 16px;
}
.AptSideBar:empty, .AptSideBar:has(> #testPagers[style*="none"]) { display: none; }
.qst_main_table_li, .qst_main_table_li table { background: transparent !important; border-radius: 0; }
#divQst > table > tbody > tr > td { padding: 0 !important; }
#divQst font { font-family: var(--ex-font) !important; font-size: 16px !important; }
#divQst b, #divQst .quizContainer > div, #divQst [style*="font-weight:bold"], #divQst [style*="font-weight: bold"] { font-weight: 400 !important; }

/* Question */
.quizContainer { padding: 0; }
.qno {
    display: flex; align-items: center; gap: 10px;
    height: auto; margin: 0 0 14px; padding: 0;
    background: none;
}
.qno span.circle {
    float: none; display: inline-flex; align-items: center; justify-content: center;
    width: auto; min-width: 42px; height: 32px; padding: 0 12px;
    border: 0; border-radius: 999px;
    background: var(--ex-primary-50); color: var(--ex-primary);
}
.qno span.stext { float: none; margin: 0; font-size: 13px; font-weight: 700; line-height: 1; }
.quizContainer .question {
    color: var(--ex-text);
    font-size: 17px;
    font-weight: 500 !important;
    line-height: 1.6;
    text-align: left;
    overflow-wrap: anywhere;
}
.quizContainer .question img { max-width: 100%; height: auto; border-radius: 10px; margin-top: 12px; }

/* Answer options */
.choiceList { display: grid; gap: 10px; margin: 20px 0 6px; float: none; }
.choiceList li {
    position: relative;
    float: none; width: auto;
    padding: 0;
    border: 1px solid var(--ex-border);
    border-radius: 12px;
    background: var(--ex-surface);
    line-height: 1.5;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.choiceList li:hover { border-color: #93c5fd; background: #f8fbff; }
.choiceList li input {
    position: absolute; left: 16px; top: 50%;
    width: 18px; height: 18px; margin: -9px 0 0;
    float: none; accent-color: var(--ex-primary); cursor: pointer;
}
.choiceList li label {
    display: block;
    padding: 13px 16px 13px 48px;
    font-size: 15px; font-weight: 400 !important; color: var(--ex-text);
    text-align: left; cursor: pointer;
}
.choiceList li label img { max-width: 100%; height: auto; border-radius: 8px; }
.choiceList li:has(input:checked) {
    border-color: var(--ex-primary);
    background: var(--ex-primary-50);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.choiceList li:has(input:checked) label { font-weight: 600 !important; }

/* Buttons */
.aptBtn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 42px;
    margin: 4px 4px 4px 0;
    padding: 0 18px;
    border: 1px solid var(--ex-border);
    border-radius: 10px;
    background: var(--ex-surface);
    color: var(--ex-text-2);
    font-family: var(--ex-font); font-size: 14px; font-weight: 700;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.aptBtn:hover { background: var(--ex-bg); border-color: #cbd5e1; color: var(--ex-text); }
.aptBtn:disabled, .aptBtn[disabled] { opacity: .55; cursor: not-allowed; }
.aptBtn span { color: inherit !important; }
.aptBtn.nextButton, #btnContinue, #finish {
    background: var(--ex-primary); border-color: var(--ex-primary); color: #ffffff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, .25);
}
.aptBtn.nextButton:hover, #btnContinue:hover, #finish:hover {
    background: var(--ex-primary-600); border-color: var(--ex-primary-600); color: #ffffff;
}
#myQBtns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ex-border-soft); }
#myQBtns.AboutQuizInMobile { display: none; }
#myQBtns .aptBtn { margin: 0; }
.c_list_item_gr, .c_list_item_gr td { font-family: var(--ex-font); font-size: 14px; border-bottom: 0 !important; }

/* Question number grid (side panel) */
#myQMatrix table { border-collapse: separate; border-spacing: 6px; margin: 0 auto; }
.pgrBt {
    width: 38px; height: 38px;
    border: 1px solid var(--ex-border) !important;
    border-radius: 10px !important;
    background: var(--ex-surface) !important;
    color: var(--ex-text-2) !important;
    font-family: var(--ex-font); font-size: 13px; font-weight: 700;
    box-shadow: none;
}
.pgrBt.pgrBtNotVisit { background: var(--ex-surface) !important; border-color: var(--ex-border) !important; color: var(--ex-text-2) !important; }
.pgrBt.pgrBtNotAns, .grBt.pgrBtNotAns { background: var(--ex-red-50) !important; border-color: #fecaca !important; color: #b91c1c !important; }
.pgrBt.pgrBtAns, .grBt.pgrBtAns { background: var(--ex-green) !important; border-color: var(--ex-green) !important; color: #ffffff !important; }
/* Unvisited buttons carry both pgrBtNotVisit and pgrBtNotAns: show as not visited */
.pgrBt.pgrBtNotVisit.pgrBtNotAns { background: var(--ex-surface) !important; border-color: var(--ex-border) !important; color: var(--ex-text-2) !important; }
.pgrBt.pgrBtCurr { background: var(--ex-primary) !important; border-color: var(--ex-primary) !important; color: #ffffff !important; box-shadow: 0 0 0 3px rgba(37, 99, 235, .25); }
.grBt {
    width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--ex-border);
    font-family: var(--ex-font); font-size: 13px; font-weight: 700;
}
.pgrBtDisabled { opacity: .6; }
#testPagers > table { width: 100%; }
#testPagers table[style*="tahoma"] { font-family: var(--ex-font) !important; font-size: 12.5px !important; color: var(--ex-text-2); }
#testPagers table[style*="tahoma"] td { padding: 4px 0; }
#testPagers table[style*="tahoma"] .pgrBt { width: 18px; height: 18px; border-radius: 5px !important; vertical-align: middle; margin-right: 6px; }

/* Countdown timer (rendered by the page script into #timer) */
.timerCounter {
    display: inline-flex !important; flex-direction: column; align-items: center; justify-content: center;
    width: 52px !important; height: 52px !important;
    margin: 0 2px !important;
    border: 0 !important; border-radius: 12px !important;
    background: var(--ex-ink) !important;
    color: #ffffff !important;
    font-family: var(--ex-font) !important; font-size: 20px !important; font-weight: 700;
    font-variant-numeric: tabular-nums; line-height: 1.05;
}
.timerCounter[style*="width:20px"] { width: 10px !important; background: none !important; color: var(--ex-text-3) !important; }
.tmrTxt { font-size: 9px !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
#timer { display: flex !important; align-items: center; }

/* Instruction panels inside the exam screens */
.tblGridLi { border: 0 !important; }
.c_list_head_gr td {
    padding: 0 0 10px !important; border: 0 !important; background: none !important;
    color: var(--ex-text) !important; font-family: var(--ex-font) !important; font-size: 18px !important; font-weight: 700;
}
.c_list_item_gr td h2 { margin: 4px 0; font-family: var(--ex-font); font-size: 15px; font-weight: 600; }
.c_list_item_gr td p { margin: 8px 0; font-family: var(--ex-font); font-size: 14px; line-height: 1.6; color: var(--ex-text-2); }

/* "Are you sure to finish?" panel */
#CompleteBoard #divQst { font-family: var(--ex-font) !important; font-size: 15px !important; }
#CompleteBoard .header_text { background: none !important; color: var(--ex-text); font-family: var(--ex-font); font-size: 20px !important; font-weight: 700; padding: 0 0 12px !important; }
#CompleteBoard #divQst table { width: auto; min-width: min(420px, 100%); }
#CompleteBoard td { padding: 10px 6px !important; border-bottom-color: var(--ex-border-soft) !important; }
#CompleteBoard td[align="right"] { padding-right: 6px !important; font-weight: 700; font-variant-numeric: tabular-nums; }
#CompleteBoard td[align="right"] + td::before { content: "\00a0"; }
#CompleteBoard .pgrBt { width: 18px; height: 18px; border-radius: 5px !important; vertical-align: middle; margin-right: 6px; }
#time_balance { display: inline-block; margin-left: 8px; padding: 6px 12px !important; border-radius: 8px !important; background: var(--ex-ink) !important; font-variant-numeric: tabular-nums; }

/* Coding screen */
.questi h4 { margin: 18px 0 8px; font-family: var(--ex-font); font-size: 15px; font-weight: 700; color: var(--ex-text); text-align: left; }
.questi > h4:first-of-type { font-size: 18px; }
.questi p { font-family: var(--ex-font); text-align: left; line-height: 1.6; color: var(--ex-text-2); }
.questi p u { text-decoration: none; font-weight: 700; color: var(--ex-text); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.questi textarea {
    width: 100%;
    margin: 10px 0 6px !important;
    padding: 14px 16px !important;
    border: 1px solid #1e293b !important;
    border-radius: 12px !important;
    background: #0f172a;
    color: #e2e8f0;
    font-family: "Cascadia Code", "Consolas", "SFMono-Regular", Menlo, monospace;
    font-size: 14px; line-height: 1.55;
    tab-size: 4;
    box-shadow: none !important;
}
.questi textarea:focus { border-color: var(--ex-primary) !important; box-shadow: 0 0 0 3px rgba(37, 99, 235, .25) !important; }
.questi table {
    width: 100%; margin: 6px 0 4px;
    border: 1px solid var(--ex-border); border-radius: 12px; border-collapse: separate; border-spacing: 0;
    overflow: hidden; font-family: var(--ex-font); font-size: 13.5px; text-align: left;
}
.questi table th { padding: 10px 12px; background: #f8fafc; color: var(--ex-text-2); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; height: auto !important; }
.questi table td { padding: 10px 12px !important; border-top: 1px solid var(--ex-border-soft); vertical-align: top; font-weight: 400; }
.questi table td span[style*="background: #FFF"] { font-family: "Cascadia Code", Consolas, monospace; }
.questi pre { margin: 0; white-space: pre-wrap; font-family: "Cascadia Code", Consolas, monospace; font-size: 13px; }
.success, .failed { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; }
.success { background: var(--ex-green-50); color: var(--ex-green); }
.failed { background: var(--ex-red-50); color: var(--ex-red); }
[id^="maxtry_"] { border-radius: 10px; background: var(--ex-red) !important; font-weight: 600; }

@media only screen and (max-width: 620px) {
    .AptStTopLine { padding: 10px 14px; }
    .AptStTopLineBrand { display: none; }
    .AptStTopicLine { padding: 10px 14px; font-size: 13.5px; }
    .AptMain { display: block; padding: 12px 12px 30px; }
    .AptSideBar { width: auto; margin-top: 14px; position: static; }
    .AptContent, .AptContentOnly { padding: 16px; }
    #myQBtns.AboutQuizInScreen { display: none; }
    #myQBtns.AboutQuizInMobile { display: flex; }
    .timerCounter { width: 42px !important; height: 42px !important; font-size: 16px !important; }
}

/* ---------------------------------------------------------------- Part 2 */

.ex-top {
    display: flex; align-items: center; gap: 14px;
    padding: 10px 24px;
    background: var(--ex-surface);
    border-bottom: 1px solid var(--ex-border);
}
.ex-top img { height: 42px; width: auto; }
.ex-brand { display: flex; flex-direction: column; line-height: 1.2; }
.ex-brand small { color: var(--ex-text-3); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ex-brand strong { color: var(--ex-text); font-size: 16px; }
.ex-user { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.ex-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--ex-primary-50); color: var(--ex-primary); font-weight: 700; font-size: 14px;
}
.ex-user-name { font-size: 14px; font-weight: 600; color: var(--ex-text); }
.ex-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 42px; padding: 0 18px;
    border: 1px solid var(--ex-border); border-radius: 10px;
    background: var(--ex-surface); color: var(--ex-text-2) !important;
    font-family: var(--ex-font); font-size: 14px; font-weight: 700;
    text-decoration: none !important; cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.ex-btn:hover { background: var(--ex-bg); border-color: #cbd5e1; color: var(--ex-text) !important; }
.ex-btn-primary { background: var(--ex-primary); border-color: var(--ex-primary); color: #ffffff !important; box-shadow: 0 6px 16px rgba(37, 99, 235, .25); }
.ex-btn-primary:hover { background: var(--ex-primary-600); border-color: var(--ex-primary-600); color: #ffffff !important; transform: translateY(-1px); }
.ex-btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.ex-btn svg { width: 16px; height: 16px; }

.ex-wrap { max-width: 920px; margin: 0 auto; padding: 28px 20px 60px; }
.ex-hero { margin-bottom: 22px; }
.ex-eyebrow { margin: 0 0 6px; color: var(--ex-text-3); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.ex-title { margin: 0; font-size: 26px; font-weight: 700; color: var(--ex-text); line-height: 1.25; }
.ex-sub { margin: 6px 0 0; color: var(--ex-text-2); font-size: 15px; }

.ex-banner {
    display: flex; gap: 14px; align-items: flex-start;
    margin-bottom: 22px; padding: 18px 20px;
    border-radius: var(--ex-radius);
    background: var(--ex-green-50); border: 1px solid #a7f3d0; color: #065f46;
}
.ex-banner-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--ex-green); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.ex-banner-icon svg { width: 22px; height: 22px; }
.ex-banner h2 { margin: 0; font-size: 17px; font-weight: 700; }
.ex-banner p { margin: 3px 0 0; font-size: 14px; color: #047857; }

.ex-section-title { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ex-text-3); }
.ex-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ex-card {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 20px;
    background: var(--ex-surface);
    border: 1px solid var(--ex-border);
    border-radius: var(--ex-radius);
    box-shadow: var(--ex-shadow);
}
.ex-card-icon {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--ex-primary-50); color: var(--ex-primary);
}
.ex-card-icon.is-code { background: #f5f3ff; color: #7c3aed; }
.ex-card-icon svg { width: 22px; height: 22px; }
.ex-card-body { flex: 1; min-width: 0; }
.ex-card-title { margin: 0; font-size: 16px; font-weight: 700; color: var(--ex-text); }
.ex-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0 0; padding: 0; list-style: none; color: var(--ex-text-2); font-size: 13.5px; }
.ex-meta li { display: inline-flex; align-items: center; gap: 6px; }
.ex-meta svg { width: 15px; height: 15px; color: var(--ex-text-3); }

.ex-empty {
    padding: 48px 24px; text-align: center;
    background: var(--ex-surface); border: 1px dashed #cbd5e1; border-radius: var(--ex-radius);
    color: var(--ex-text-2);
}
.ex-empty svg { width: 40px; height: 40px; color: var(--ex-text-3); margin-bottom: 10px; }
.ex-empty h2 { margin: 0 0 4px; font-size: 17px; color: var(--ex-text); }
.ex-empty p { margin: 0; font-size: 14px; }

.ex-panel {
    background: var(--ex-surface); border: 1px solid var(--ex-border);
    border-radius: var(--ex-radius); box-shadow: var(--ex-shadow);
    overflow: hidden;
}
.ex-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-bottom: 1px solid var(--ex-border-soft); }
.ex-stat { padding: 18px 22px; border-right: 1px solid var(--ex-border-soft); }
.ex-stat:last-child { border-right: 0; }
.ex-stat small { display: block; color: var(--ex-text-3); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.ex-stat strong { display: block; margin-top: 4px; font-size: 20px; color: var(--ex-text); }
.ex-panel-body { padding: 22px 24px; }
.ex-panel-body h2 { margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.ex-note {
    margin: 0 0 18px; padding: 12px 14px;
    border-radius: 10px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e;
    font-size: 14px;
}
.ex-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.ex-steps li { position: relative; padding-left: 40px; color: var(--ex-text-2); font-size: 14.5px; line-height: 1.6; counter-increment: step; }
.ex-steps li::before {
    content: counter(step);
    position: absolute; left: 0; top: 0;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--ex-primary-50); color: var(--ex-primary);
    font-size: 12.5px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}
.ex-steps b { color: var(--ex-text); }
.ex-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding: 16px 24px; border-top: 1px solid var(--ex-border-soft); background: #f8fafc; }
.ex-actions .ex-btn-primary { min-width: 180px; }

@media (max-width: 640px) {
    .ex-top { padding: 10px 14px; }
    .ex-brand, .ex-user-name { display: none; }
    .ex-wrap { padding: 20px 14px 40px; }
    .ex-title { font-size: 21px; }
    .ex-card { flex-wrap: wrap; padding: 16px; }
    .ex-card .ex-btn { width: 100%; }
    .ex-stat { border-right: 0; border-bottom: 1px solid var(--ex-border-soft); }
    .ex-panel-body { padding: 18px; }
    .ex-actions { padding: 14px 18px; }
    .ex-actions .ex-btn { flex: 1; }
}
