:root {
    /* New Color Palette */
    --primary-blue: #0a2342; /* Deep dark blue */
    --accent-teal: #00a896; /* Vibrant teal */
    --accent-coral: #ff6b6b; /* Striking coral for CTAs */
    --bg-light: #f4f7fa; /* Very light gray-blue background */
    --white: #ffffff;
    --text-dark: #2d3748;
    --text-gray: #718096;
    --border-color: #e2e8f0;
    
    /* Design Tokens */
    --section-spacing: 4rem;
    --card-radius: 20px;
    --btn-radius: 12px;
    --box-shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --font-family: 'Noto Sans KR', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll on small devices */
}

h1, h2, h3 {
    margin-top: 0;
    color: var(--primary-blue);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem; /* Slightly reduced side padding for mobile */
}

/* --- Header --- */
header {
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area { display: flex; align-items: center; }
.logo {
    font-size: 1.5rem; font-weight: 800; color: var(--primary-blue);
    margin-right: 1rem; letter-spacing: -0.5px;
    white-space: nowrap;
}
.logo-tagline {
    font-size: 0.9rem; color: var(--text-gray);
    border-left: 2px solid var(--border-color); padding-left: 1rem;
    white-space: nowrap;
}

.user-area { display: flex; align-items: center; gap: 1rem; }
.user-profile { font-size: 1.5rem; color: var(--text-gray); cursor: pointer; }
.lang-selector {
    font-weight: 600; color: var(--primary-blue); cursor: pointer;
    display: flex; align-items: center; gap: 0.5rem;
    background: var(--bg-light); padding: 0.5rem 0.8rem; border-radius: var(--btn-radius);
    font-size: 0.9rem;
}

/* --- Hero & Upload Section --- */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3a5f 100%);
    color: var(--white);
    padding: 4rem 0 7rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width%3D%2260%22 height%3D%2260%22 viewBox%3D%220 0 60 60%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg fill%3D%22none%22 fill-rule%3D%22evenodd%22%3E%3Cpath d%3D%22M36 34v4h-4v-4h4zm0 0v4h-4v-4h4zm0 0v4h-4v-4h4zm0 0v4h-4v-4h4z%22 stroke%3D%22%23fff%22 stroke-opacity%3D%220.1%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E') repeat;
    opacity: 0.1;
}

.hero-content h1 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--white); line-height: 1.2; }
.hero-content p { font-size: 1.1rem; opacity: 0.9; margin: 0 auto 3rem; }

.upload-container-wrapper {
    margin-top: -5rem; /* Overlap the hero */
    padding: 0 1.5rem;
}
.upload-zone {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 3rem 1.5rem;
    text-align: center;
    box-shadow: var(--box-shadow-soft);
    border: 3px dashed var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.upload-zone:hover {
    border-color: var(--accent-teal);
    box-shadow: var(--box-shadow-hover);
}

 /* --- Language Selectors in Upload Zone --- */
 .language-selectors-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 600px;
}
.language-selector-group {
    flex: 1;
    text-align: left;
}
.language-selector-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}
.language-select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--btn-radius);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--white);
    cursor: pointer;
    appearance: none; /* Remove default arrow */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2300a896%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.8rem;
}

/* --- Upload Icon & Text --- */
.upload-icon {
    font-size: 3.5rem; color: var(--accent-teal); margin-bottom: 1.5rem;
    background: var(--bg-light); padding: 1.2rem; border-radius: 50%;
}
.upload-text { font-size: 1.25rem; font-weight: 600; color: var(--primary-blue); }
.upload-subtext { color: var(--text-gray); margin-top: 0.5rem; font-size: 0.95rem; }

/* --- Sections Common --- */
.page-section { padding: 3rem 0; }
.section-title {
    text-align: center; font-size: 1.75rem; margin-bottom: 2.5rem;
    position: relative; padding-bottom: 1rem;
}
.section-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 3px; background: var(--accent-teal); border-radius: 3px;
}

/* --- File List Section (Desktop Default) --- */
.file-list-table {
    width: 100%; border-collapse: separate; border-spacing: 0 1rem;
    max-width: 1000px; margin: 0 auto;
}
.file-list-table th {
    text-align: left; padding: 1rem 1.5rem; color: var(--text-gray);
    font-weight: 600; text-transform: uppercase; font-size: 0.85rem;
}
.file-list-row {
    background: var(--white); box-shadow: var(--box-shadow-soft);
    border-radius: var(--btn-radius); transition: transform 0.2s;
    font-size: 10pt;
}
.file-list-row:hover { transform: scale(1.01); }
.file-list-row td { padding: 1.5rem; vertical-align: middle; }
.file-list-row td:first-child { border-top-left-radius: var(--btn-radius); border-bottom-left-radius: var(--btn-radius); }
.file-list-row td:last-child { border-top-right-radius: var(--btn-radius); border-bottom-right-radius: var(--btn-radius); }
.file-list-row .form-control { font-size: inherit; }

.file-info { display: flex; align-items: center; font-weight: 600; color: var(--primary-blue); word-break: break-all; }
.file-icon-small { font-size: 1.4rem; margin-right: 1rem; color: var(--accent-teal); flex-shrink: 0; }

/* --- Service Selection Section --- */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; max-width: 1100px; margin: 0 auto;
}
.service-card {
    background: var(--white); border-radius: var(--card-radius); padding: 2rem;
    box-shadow: var(--box-shadow-soft); border: 2px solid transparent;
    transition: all 0.3s ease; position: relative; overflow: hidden; cursor: pointer;
    display: flex; flex-direction: column;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px;
    background: var(--border-color); transition: all 0.3s;
}
.service-card:hover {
    transform: translateY(-5px); box-shadow: var(--box-shadow-hover);
}

/* Service Theme Colors */
.service-card.express { --theme-color: var(--accent-teal); }
.service-card.standard { --theme-color: #4299e1; }
.service-card.premium { --theme-color: #ed8936; }

.service-card.selected { border-color: var(--theme-color); }
.service-card.selected::before, .service-card:hover::before { background: var(--theme-color); }

.service-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.service-card.disabled::before {
    background: var(--border-color);
}
.service-card.disabled:hover {
    transform: none;
    box-shadow: var(--box-shadow-soft);
}

.service-header { display: flex; align-items: center; margin-bottom: 1.5rem; }
.service-icon-box {
    font-size: 1.8rem; color: var(--theme-color); background: var(--bg-light);
    padding: 0.5rem 0.8rem; border-radius: 50%; margin-right: 1rem;
}
.service-title { font-size: 1.4rem; font-weight: 700; color: var(--primary-blue); }
.service-desc { 
    color: var(--text-gray); 
    margin-bottom: 2rem; 
    flex-grow: 1; 
    font-size: 0.95rem; 
    word-break: keep-all; /* Prevent breaking within words */
    overflow-wrap: break-word; /* Allow breaking only at word boundaries */
    hyphens: none; /* Disable automatic hyphenation */
}
.service-features { list-style: none; padding: 0; margin-bottom: 2rem; font-size: 0.95rem; }
.service-features li {
    margin-bottom: 0.8rem; padding-left: 1.8rem; position: relative; color: var(--text-dark);
}
.service-features li::before {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; color: var(--theme-color); top: 2px;
}
.service-price {
    font-size: 1.6rem; font-weight: 800; color: var(--primary-blue);
    text-align: center; padding-top: 1.5rem; border-top: 1px solid var(--border-color);
}
.service-price span { font-size: 0.9rem; color: var(--text-gray); font-weight: 400; }

/* --- Finalize Order Section --- */
.finalize-section { background-color: var(--white); box-shadow: 0 -10px 30px -10px rgba(0,0,0,0.05); }
.finalize-grid {
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem;
    align-items: start;
}

/* Left Col: Details & Inputs */
.order-details-col h3 { margin-bottom: 1.5rem; font-size: 1.3rem; }
.summary-list {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
    margin-bottom: 3rem;
}
.summary-item {
    background: var(--bg-light); padding: 1rem; border-radius: var(--btn-radius);
}
.summary-label { display: block; font-size: 0.85rem; color: var(--text-gray); margin-bottom: 0.4rem; }
.summary-value { font-size: 1rem; font-weight: 700; color: var(--primary-blue); }

.input-set { margin-bottom: 1.5rem; }
.input-label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--primary-blue); font-size: 0.95rem; }
.input-field {
    width: 100%; padding: 0.9rem; border: 2px solid var(--border-color);
    border-radius: var(--btn-radius); font-family: inherit; font-size: 0.95rem;
    transition: border-color 0.3s; box-sizing: border-box;
}
.input-field:focus { outline: none; border-color: var(--accent-teal); }
textarea.input-field { resize: vertical; height: 100px; }

.coupon-row { display: flex; gap: 1rem; }
.coupon-row .input-field { flex: 1; }
.btn-coupon {
    padding: 0 1.5rem; background: var(--bg-light); color: var(--primary-blue);
    font-weight: 600; border: 2px solid var(--border-color); border-radius: var(--btn-radius); cursor: pointer;
    white-space: nowrap;
}

.point-checkbox {
    display: flex; align-items: center; gap: 0.8rem; margin-top: 1rem;
    font-weight: 600; color: var(--primary-blue); cursor: pointer; font-size: 0.95rem;
}
.point-checkbox input { width: 1.2rem; height: 1.2rem; accent-color: var(--accent-teal); }

/* Right Col: Payment & Actions */
.order-payment-col {
    background: var(--bg-light); padding: 2.5rem; border-radius: var(--card-radius);
    text-align: center; position: sticky; top: 100px;
}
.total-price-label { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 0.5rem; }
.total-price-value {
    font-size: 2.5rem; font-weight: 800; color: var(--primary-blue);
    margin-bottom: 2rem; line-height: 1;
}

.btn-pay {
    width: 100%; padding: 1.1rem; background: var(--accent-coral);
    color: var(--white); font-size: 1.2rem; font-weight: 700; border: none;
    border-radius: var(--btn-radius); cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(255, 107, 107, 0.4);
    transition: all 0.3s; margin-bottom: 1.5rem;
}
.btn-pay:hover {
    background: #fa5252; transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(255, 107, 107, 0.5);
}
.btn-cancel {
    width: 100%; padding: 1.1rem; background: black;
    color: var(--white); font-size: 1.2rem; font-weight: 700; border: none;
    border-radius: var(--btn-radius); cursor: pointer;
    transition: all 0.3s;
}
.btn-cancel:hover {
    background: darkgray; transform: translateY(-3px);
}


.secondary-actions { display: flex; gap: 1rem; }
.btn-secondary {
    flex: 1; padding: 0.9rem; background: transparent; border: 2px solid var(--border-color);
    color: var(--text-gray); font-weight: 600; border-radius: var(--btn-radius);
    cursor: pointer; transition: all 0.3s; font-size: 0.95rem; white-space: nowrap;
}
.btn-secondary:hover {
    border-color: var(--primary-blue); color: var(--primary-blue); background: var(--white);
}

/* --- Footer --- */
footer {
    background: var(--primary-blue); color: rgba(255,255,255,0.7);
    padding: 2rem 0; text-align: center; font-size: 0.85rem;
}
footer p { margin: 0; }

/* =========================================
   RESPONSIVE MEDIA QUERIES
========================================= */

/* Tablet and smaller laptops (max-width: 992px) */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.2rem; }
    .upload-zone { padding: 3rem 1.5rem; }
    /* .language-selectors-container { flex-direction: column; gap: 1rem; margin-bottom: 2rem; } */
    .finalize-grid { grid-template-columns: 1fr; gap: 3rem; }
    /* .order-payment-col { position: static; padding: 2rem; max-width: 600px; margin: 0 auto; } */
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    .section-title { font-size: 1.5rem; margin-bottom: 2rem; }
    .logo { font-size: 1.3rem; }
    .logo-tagline { display: none; /* Hide tagline on small screens */ }
    
    /* --- Responsive Table: Card View --- */
    /* Force table elements to act like block elements */
    .file-list-table, .file-list-table thead, .file-list-table tbody, .file-list-table th, .file-list-table td, .file-list-table tr {
        display: block;
    }
    /* Hide the table header visually */
    .file-list-table thead tr {
        position: absolute; top: -9999px; left: -9999px;
    }
    .file-list-row { margin-bottom: 1.5rem; border: 1px solid var(--border-color);}
    .file-list-row td {
        /* Behave like a "row" */
        border: none;
        border-bottom: 1px solid var(--border-color);
        position: relative;
        padding-left: 40%; /* Make space for labels */
        text-align: right;
        padding-top: 0.8rem; padding-bottom: 0.8rem;
    }
    .file-list-row td:last-child { border-bottom: none; }
    
    /* Add labels using pseudo-elements */
    .file-list-row td::before {
        position: absolute; top: 50%; left: 1.5rem; transform: translateY(-50%);
        width: 35%; white-space: nowrap; font-weight: 600; color: var(--text-gray); text-align: left; font-size: 0.9rem;
    }
    /* Specific labels */
    .file-list-row td:nth-of-type(1)::before { content: "파일명"; }
    .file-list-row td:nth-of-type(2)::before { content: "분량"; }
    .file-list-row td:nth-of-type(3)::before { content: "문서 종류"; }
    .file-list-row td:nth-of-type(4)::before { content: "전문 분야"; }
    
    /* Special styling for filename cell */
    .file-list-row td:nth-of-type(1) {
         text-align: left; padding-left: 1.5rem; padding-top: 1.2rem; background: var(--bg-light);
    }
     .file-list-row td:nth-of-type(1)::before { display: none; }
     .file-list-row td:first-child, .file-list-row td:last-child { border-radius: 0; }


    /* --- Services Grid on Mobile --- */
    .services-grid { grid-template-columns: 1fr; /* Force single column */ }
    .service-card { padding: 1.5rem; }
}

/* Small Mobile (max-width: 576px) */
@media (max-width: 576px) {
    .hero-content h1 { font-size: 1.8rem; }
    .upload-icon { font-size: 2.5rem; padding: 1rem; }
    .upload-text { font-size: 1.1rem; }
    
    .summary-list { grid-template-columns: 1fr; gap: 1rem; }
    /* .coupon-row { flex-direction: column; } */
    /* .btn-coupon { width: 100%; margin-top: 0.5rem; } */
    .secondary-actions { flex-direction: column; }
    .total-price-value { font-size: 2rem; }
}

/* Widget Mode - Optimized for 350px width */
body.widget-mode {
    overflow-x: hidden;
    font-size: 14px;
}

body.widget-mode .container {
    max-width: 100%;
    padding: 0 1.5rem;
}

body.widget-mode header {
    padding: 0.4rem 0;
}

body.widget-mode .header-content {
    flex-wrap: nowrap;
}

body.widget-mode .logo {
    font-size: 1rem;
}

body.widget-mode .logo-tagline {
    display: none;
}

body.widget-mode .user-area {
    gap: 0.5rem;
}

body.widget-mode .lang-selector {
    padding: 0.3rem 0.5rem;
    font-size: 0.8rem;
}

body.widget-mode .pronto-logo-image {
    display: none;
}

body.widget-mode .hero-section {
    padding: 2.5rem 0 2.5rem;
}

/* body.widget-mode .hero-content h1 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
} */

body.widget-mode .hero-content p {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

body.widget-mode .upload-container-wrapper {
    margin-top: -2rem;
    /* padding: 0 0.5rem; */
}

body.widget-mode .upload-zone {
    padding: 2rem;
}

body.widget-mode .language-selectors-container {
    /* flex-direction: column; */
    gap: 0.75rem; 
    margin-bottom: 0.5rem;
}

body.widget-mode .language-selector-group label {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

body.widget-mode .language-select {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 8px;
}

body.widget-mode .upload-icon {
    font-size: 1.8rem;
    padding: 0.6rem;
    margin-bottom: 0.75rem;
}

body.widget-mode .upload-text {
    font-size: 0.9rem;
}

body.widget-mode .upload-subtext {
    font-size: 0.75rem;
    margin-top: 0.3rem;
}

body.widget-mode .page-section {
    padding: 1rem 0;
}

body.widget-mode .section-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

body.widget-mode .section-title::after {
    width: 40px;
    height: 2px;
}

body.widget-mode .services-grid {
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

body.widget-mode .service-card {
    padding: 1rem 0.5rem;
    border-radius: 12px;
}

body.widget-mode .service-card::before {
    height: 4px;
}

body.widget-mode .service-header {
    margin-bottom: 0.75rem;
}

body.widget-mode .service-icon-box {
    font-size: 1.2rem;
    padding: 0.4rem 0.6rem;
    margin-right: 0.75rem;
}

body.widget-mode .service-title {
    font-size: 1rem;
}

body.widget-mode .service-desc {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

body.widget-mode .service-features {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    display: none;
}

body.widget-mode .service-features li {
    margin-bottom: 0.4rem;
    padding-left: 1.4rem;
}

body.widget-mode .service-features li::before {
    top: 1px;
}

body.widget-mode .service-price {
    font-size: 0.9rem;
    padding-top: 0.75rem;
}

body.widget-mode .finalize-section {
    padding: 1rem 0;
}

body.widget-mode .finalize-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
}

body.widget-mode .order-details-col h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

/* body.widget-mode .order-payment-col {
    position: static;
    padding: 1rem;
    border-radius: 12px;
} */

body.widget-mode .summary-list {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

body.widget-mode .summary-item {
    padding: 0.5rem;
    border-radius: 8px;
}

body.widget-mode .summary-label {
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
}

body.widget-mode .summary-value {
    font-size: 0.8rem;
}

body.widget-mode .input-set {
    margin-bottom: 0.75rem;
}

body.widget-mode .input-label {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

body.widget-mode .input-field {
    padding: 0.6rem;
    font-size: 0.85rem;
    border-radius: 8px;
}

body.widget-mode textarea.input-field {
    height: 60px;
}

body.widget-mode .total-price-label {
    font-size: 0.85rem;
}

body.widget-mode .total-price-value {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

body.widget-mode .btn-pay,
body.widget-mode .btn-cancel {
    padding: 0.75rem;
    font-size: 0.9rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

body.widget-mode .coupon-row {
    /* flex-direction: column; */
    gap: 0.5rem;
}

body.widget-mode .btn-coupon {
    width: 100%;
    padding: 0.6rem;
}

body.widget-mode .secondary-actions {
    flex-direction: column;
    gap: 0.5rem;
}

body.widget-mode .btn-secondary {
    width: 100%;
    padding: 0.6rem;
    font-size: 0.8rem;
    border-radius: 8px;
}

body.widget-mode .file-list-section {
    margin-top: 1rem !important;
}

body.widget-mode .file-list-table,
body.widget-mode .file-list-table thead,
body.widget-mode .file-list-table tbody,
body.widget-mode .file-list-table th,
body.widget-mode .file-list-table td,
body.widget-mode .file-list-table tr {
    display: block;
}

body.widget-mode .file-list-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

body.widget-mode .file-list-row {
    margin-bottom: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: none;
}

body.widget-mode .file-list-row td {
    border: none;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding: 0.5rem 0.75rem 0.5rem 35%;
    text-align: right;
    font-size: 0.75rem;
}

body.widget-mode .file-list-row td:last-child {
    border-bottom: none;
}

body.widget-mode .file-list-row td::before {
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
    width: 30%;
    white-space: nowrap;
    font-weight: 600;
    color: var(--text-gray);
    text-align: left;
    font-size: 0.7rem;
}

body.widget-mode .file-list-row td:nth-of-type(1)::before { content: "파일명"; }
body.widget-mode .file-list-row td:nth-of-type(2)::before { content: "분량"; }
body.widget-mode .file-list-row td:nth-of-type(3)::before { content: "문서 종류"; }
body.widget-mode .file-list-row td:nth-of-type(4)::before { content: "전문 분야"; }

body.widget-mode .file-list-row td:nth-of-type(1) {
    text-align: left;
    padding-left: 0.75rem;
    padding-top: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px 8px 0 0;
}

body.widget-mode .file-list-row td:nth-of-type(1)::before {
    display: none;
}

body.widget-mode .file-info {
    font-size: 0.8rem;
}

body.widget-mode .file-icon-small {
    font-size: 1rem;
    margin-right: 0.5rem;
}

body.widget-mode footer {
    padding: 0.75rem 0;
    font-size: 0.7rem;
    display: none;
}

body.widget-mode footer p {
    line-height: 1.4;
}

body.widget-mode .faq-section {
    padding: 1rem 0;
}

body.widget-mode .faq-header {
    margin-bottom: 1rem;
}

body.widget-mode .faq-header .section-title {
    font-size: 1rem;
}

body.widget-mode .btn-faq-toggle {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

body.widget-mode .accordion-item {
    margin-bottom: 0.5rem;
    border-radius: 8px;
}

body.widget-mode .accordion-button {
    font-size: 0.8rem;
    padding: 0.75rem;
}

body.widget-mode .accordion-body {
    font-size: 0.75rem;
    padding: 0.75rem;
    line-height: 1.5;
}

/* Widget mode - hide demo row */
body.widget-mode .file-list-row.demo {
    display: none;
}

/* Widget mode - checkbox options */
body.widget-mode .checkbox-options {
    font-size: 0.8rem;
    max-height: 200px;
}

body.widget-mode .lang-badge {
    font-size: 0.75rem;
    padding: 2px 6px;
    height: 20px;
}

body.widget-mode #selectedLangs {
    gap: 4px;
}

/* Widget mode - BlockUI styles */
body.widget-mode .blockUI.blockOverlay {
    background-color: rgba(0, 0, 0, 0.4) !important;
}

body.widget-mode .blockUI.blockMsg,
body.widget-mode .blockPage {
    width: 85% !important;
    max-width: 300px !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    padding: 15px !important;
    border-radius: 12px !important;
    font-size: 0.85rem !important;
}

body.widget-mode .blockPage h4,
body.widget-mode .blockUI h4 {
    font-size: 0.95rem !important;
    margin: 0.5rem 0 !important;
}

body.widget-mode .blockPage .spinner-loader,
body.widget-mode .blockUI .spinner-loader {
    transform: scale(0.7);
}

body.widget-mode #blockMessage {
    text-align: center;
}

body.widget-mode #blockMessage .row {
    flex-direction: column;
    align-items: center;
}

body.widget-mode #blockMessage .col-sm-2,
body.widget-mode #blockMessage .col-sm-10 {
    width: 100%;
    text-align: center;
}

body.widget-mode #blockMessageTitle {
    font-size: 0.9rem !important;
    margin-top: 0.5rem !important;
}

body.widget-mode #blockMessageSubTitle {
    font-size: 0.8rem;
}

body.widget-mode #blockMessageProgress {
    font-size: 0.75rem;
}

/* Widget mode - hide verbose hero text */
body.widget-mode .hero-content p:nth-of-type(2) {
    display: none;
}

/* Widget mode - simplify hero section further */
body.widget-mode .hero-content p:first-of-type {
    margin-bottom: 0.5rem;
}

/* Widget mode - FAQ section hidden by default */
body.widget-mode .faq-section {
    display: none;
}

/* Widget mode - simplify order details */
body.widget-mode .order-details-col h3 {
    display: none;
}

/* Widget mode - hide quality unavailable labels */
body.widget-mode .quality-label-unavailable {
    font-size: 0.7rem;
}

/* Widget mode - user login dropdown adjustments */
body.widget-mode #user-login-status .username {
    display: none;
}

/* Widget mode - hide admin order button */
body.widget-mode #btn-order-admin-submit {
    display: none;
}

body.widget-mode #selectedLangsCount {
    margin-top: 0.5rem;
}

#selectedLangsCount {
    margin-top: 1.5rem;
}


#user-login-status {
    position: relative;
}
#user-login-status .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-gray);
    cursor: pointer;
}
#user-login-status .dropdown-toggle:hover {
    color: var(--primary-blue);
}
#user-login-status .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--white);
    border-radius: var(--btn-radius);
    box-shadow: var(--box-shadow-soft);
    min-width: 150px;
    padding: 0.5rem 0;
    z-index: 1000;
    list-style: none;
    border: 1px solid var(--border-color);
}
#user-login-status .dropdown-menu li {
    list-style: none;
}
#user-login-status .dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.2s;
}
#user-login-status .dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary-blue);
}
#user-login-status .caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.5rem;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}  

.custom-select-wrapper {
    position: relative;
    display: inline-block;
}

select.custom-select-multiple {
    height: 34px;
    width: auto;
    overflow-y: hidden;
    transition: height 0.2s ease;
}

.custom-select-multiple.expanded {
    /* position: absolute; */
    width:auto;
    z-index: 999;
    height: 150px; /* or any height you prefer */
    background: white;
    overflow-y: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.lang-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    margin: 2px;
    border-radius: 999px;
    background-color: #f0f0f0;
    font-size: 0.85em;
    border: 1px solid #ccc;
    height:24px;
    width: auto;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.lang-badge .remove-btn {
    margin-left: 6px;
    cursor: pointer;
    font-weight: bold;
    color: #888;
}

.lang-badge .remove-btn:hover {
    color: #d00;
}

#selectedLangs {
    display: flex;
    flex-wrap: wrap;
    /* max-width: 500px;
    margin-left: 8px; */
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;            
}

.checkbox-wrapper {
    cursor: pointer;
    width: 100%;
}

.checkbox-options {
    background: #fff;
    border: 1px solid #ccc;
    padding: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    position: absolute;
    width: 100%;
    font-size:10pt;
}
.arrow_down_icon {
    margin-left: auto;
    float: right;
    font-size: 14pt;
    font-weight: 600;
    padding-top: 4px;
}
.lang-search {
    font-size: 10pt;
}
.checkbox-label {
    display: flex;
}

.lang-item label {
    font-weight: 500;
}
.hide-at-start {
    display: none;
}

/* File drag & drop */
.box__dragndrop,
.box__uploading,
.box__success,
.box__error {
  display: none;
}

.box__container {
  /*font-size: 1.25rem;*/
  /* background-color: #EAF2F8; */
  /* position: relative; */
  /* padding: 20px 20px; */
  /* display: block; */
}

.box__input {
  text-align: center;
  cursor: pointer;
}

.box__file{
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.box__icon {
  width: 100%;
  /*height: 80px;*/
  fill: #92b0b3;
  display: block;
  margin-bottom: 10px;
}

.box__file + label {
  max-width: 80%;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  display: inline-block;
  overflow: hidden;
}

.box__button {
  font-weight: 700;
  color: #e5edf1;
  background-color: #39bfd3;
  display: block;
  padding: 8px 16px;
  margin: 40px auto 0;
  border: none;
  cursor: pointer;
  text-transform: none;
  -webkit-appearance: button;
  appearance: button;
}

.box__container.has-advanced-upload{
  /*background-color: white;*/
  /* outline: 2px dashed #92b0b3; */
  outline-offset: -10px;
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear;
}
.box__container.has-advanced-upload .box__dragndrop {
  display: inline;
}
.box__container.is-dragover {
  outline-offset: -5px;
  outline-color: #c8dadf;
  background-color: #FEF9E7;
}



.pronto-icon-group {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 3px;
    font-size: large;
}
.pronto-icon-group-item {
    margin: 0 3px;
}
#deleteFile {
    cursor: pointer;
}

.alert-message {
    font-size: 14px;
}
.free-site {
    padding: 10px 0;
    margin: 0 15px;
}
.free-site img {
    width: 90px;
}    

.quote-ready-show-quality,
.quote-ready-show,
.comment-panel {
    display: none;
}

.blockPage {
    padding: 20px !important;
}

.blockPage h4 {
    font-size: 22px !important;
}

.origianl-price-strikeout {
    text-decoration: line-through;
    color: red;
}
.discounted-price {
    color: black;
    font-weight: 600;
}
.disabled-item {
    color: #ddd !important;
}
.disabled-background {
    background-color: #eee !important;
    cursor: not-allowed;
}
.demo {
    font-style: italic;
    color: var(--bs-secondary-color) !important;
}
.demo .file-info {
    font-weight: 500 !important;    
    color: unset !important;
}
.hero-link {
    color: var(--accent-teal) !important;
    text-decoration: none;
    font-weight: 600;
    /* font-size: 1.1rem; */
    transition: all 0.3s ease;
}
.hero-link:hover {
    color: var(--accent-coral) !important;
    text-decoration: none;
    font-weight: 700;
    /* font-size: 1.2rem; */
}

.white-bg-link {
    text-decoration: none;
    color: var(--accent-teal) !important;
}
.white-bg-link:hover {
    color: var(--accent-coral) !important;
    text-decoration: none;
}

.pronto-logo-image {
    /* position: absolute; */
    /* right: 10px; */
}

.blockMessageContent {
    text-align: left !important;
}


@media (max-width: 800px) {
    /* .pronto-logo-image { */
        /* display: none; */
    /* } */
}


.order-completed-container {
    padding: 8px;
}

/* --- FAQ Section --- */
.faq-section {
    padding: 3rem 0;
}

.faq-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.faq-header .section-title {
    margin-bottom: 0;
}

.btn-faq-toggle {
    background: var(--white);
    border: 2px solid var(--border-color);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: var(--btn-radius);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-faq-toggle:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    background: var(--bg-light);
}

.btn-faq-toggle i {
    transition: transform 0.3s;
}

.btn-faq-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.accordion {
    --bs-accordion-border-color: var(--border-color);
    --bs-accordion-border-radius: var(--btn-radius);
    --bs-accordion-inner-border-radius: var(--btn-radius);
    --bs-accordion-btn-padding-x: 1.5rem;
    --bs-accordion-btn-padding-y: 1.25rem;
    --bs-accordion-body-padding-x: 1.5rem;
    --bs-accordion-body-padding-y: 1.25rem;
    --bs-accordion-active-color: var(--primary-blue);
    --bs-accordion-btn-focus-border-color: var(--accent-teal);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(0, 168, 150, 0.15);
}

.accordion-item {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--btn-radius);
    margin-bottom: 1rem;
    box-shadow: var(--box-shadow-soft);
    transition: all 0.3s;
}

.accordion-item:hover {
    box-shadow: var(--box-shadow-hover);
    border-color: var(--accent-teal);
}

.accordion-button {
    background: var(--white);
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    box-shadow: none;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--bg-light);
    color: var(--primary-blue);
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300a896'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a2342'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    filter: none;
}

.accordion-button:focus {
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 0.25rem rgba(0, 168, 150, 0.15);
}

.accordion-body {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
    padding: 1.25rem 1.5rem;
}

/* Mobile Responsive for FAQ */
@media (max-width: 768px) {
    .faq-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .faq-header .section-title {
        text-align: center;
    }
    
    .btn-faq-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .accordion-button {
        font-size: 0.9rem;
        padding: 1rem 1.25rem;
    }
    
    .accordion-body {
        font-size: 0.9rem;
        padding: 1rem 1.25rem;
    }
}


/* --- Widget Style --- */
body.widget-mode .modal-dialog {
    max-width: 400px;
}

@media (max-width: 768px) {  

    body {
        overflow-x: hidden;
        font-size: 14px;
    }

    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }

    header {
        padding: 0.4rem 0;
    }

    .header-content {
        flex-wrap: nowrap;
    }

    .logo {
        font-size: 1rem;
    }

    .logo-tagline {
        display: none;
    }

    .user-area {
        gap: 0.5rem;
    }

    .lang-selector {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }

    .pronto-logo-image {
        display: none;
    }

    .hero-section {
        padding: 2.5rem 0 2.5rem;
    }

    /* .hero-content h1 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    } */

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        line-height: 1.4;
    }

    .upload-container-wrapper {
        margin-top: -2rem;
        /* padding: 0 0.5rem; */
    }

    .upload-zone {
        padding: 2rem;
    }

    .language-selectors-container {
        /* flex-direction: column; */
        gap: 0.75rem; 
        margin-bottom: 0.5rem;
    }

    .language-selector-group label {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .language-select {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .upload-icon {
        font-size: 1.8rem;
        padding: 0.6rem;
        margin-bottom: 0.75rem;
    }

    .upload-text {
        font-size: 0.9rem;
    }

    .upload-subtext {
        font-size: 0.75rem;
        margin-top: 0.3rem;
    }

    .page-section {
        padding: 1rem 0;
    }

    .section-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }

    .section-title::after {
        width: 40px;
        height: 2px;
    }

    .services-grid {
        gap: 0.75rem;
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }

    .service-card {
        padding: 1rem 0.5rem;
        border-radius: 12px;
    }

    .service-card::before {
        height: 4px;
    }

    .service-header {
        margin-bottom: 0.75rem;
    }

    .service-icon-box {
        font-size: 1.2rem;
        padding: 0.4rem 0.6rem;
        margin-right: 0.75rem;
    }

    .service-title {
        font-size: 1rem;
    }

    .service-desc {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
        text-align: center;
    }

    .service-features {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
        display: none;
    }

    .service-features li {
        margin-bottom: 0.4rem;
        padding-left: 1.4rem;
    }

    .service-features li::before {
        top: 1px;
    }

    .service-price {
        font-size: 0.9rem;
        padding-top: 0.75rem;
    }

    .finalize-section {
        padding: 1rem 0;
    }

    .finalize-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .order-details-col h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    /* .order-payment-col {
        position: static;
        padding: 1rem;
        border-radius: 12px;
    } */

    .summary-list {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .summary-item {
        padding: 0.5rem;
        border-radius: 8px;
    }

    .summary-label {
        font-size: 0.7rem;
        margin-bottom: 0.2rem;
    }

    .summary-value {
        font-size: 0.8rem;
    }

    .input-set {
        margin-bottom: 0.75rem;
    }

    .input-label {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .input-field {
        padding: 0.6rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    textarea.input-field {
        height: 60px;
    }

    .total-price-label {
        font-size: 0.85rem;
    }

    .total-price-value {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .btn-pay,
    .btn-cancel {
        padding: 0.75rem;
        font-size: 0.9rem;
        border-radius: 8px;
        margin-bottom: 0.75rem;
    }

    .coupon-row {
        /* flex-direction: column; */
        gap: 0.5rem;
    }

    .btn-coupon {
        width: 100%;
        padding: 0.6rem;
    }

    .secondary-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-secondary {
        width: 100%;
        padding: 0.6rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }

    .file-list-section {
        margin-top: 1rem !important;
    }

    .file-list-table,
    .file-list-table thead,
    .file-list-table tbody,
    .file-list-table th,
    .file-list-table td,
    .file-list-table tr {
        display: block;
    }

    .file-list-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .file-list-row {
        margin-bottom: 0.75rem;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        box-shadow: none;
    }

    .file-list-row td {
        border: none;
        border-bottom: 1px solid var(--border-color);
        position: relative;
        padding: 0.5rem 0.75rem 0.5rem 35%;
        text-align: right;
        font-size: 0.75rem;
    }

    .file-list-row td:last-child {
        border-bottom: none;
    }

    .file-list-row td::before {
        position: absolute;
        top: 50%;
        left: 0.75rem;
        transform: translateY(-50%);
        width: 30%;
        white-space: nowrap;
        font-weight: 600;
        color: var(--text-gray);
        text-align: left;
        font-size: 0.7rem;
    }

    .file-list-row td:nth-of-type(1)::before { content: "파일명"; }
    .file-list-row td:nth-of-type(2)::before { content: "분량"; }
    .file-list-row td:nth-of-type(3)::before { content: "문서 종류"; }
    .file-list-row td:nth-of-type(4)::before { content: "전문 분야"; }

    .file-list-row td:nth-of-type(1) {
        text-align: left;
        padding-left: 0.75rem;
        padding-top: 0.75rem;
        background: var(--bg-light);
        border-radius: 8px 8px 0 0;
    }

    .file-list-row td:nth-of-type(1)::before {
        display: none;
    }

    .file-info {
        font-size: 0.8rem;
    }

    .file-icon-small {
        font-size: 1rem;
        margin-right: 0.5rem;
    }

    footer {
        padding: 0.75rem 0;
        font-size: 0.7rem;
        display: none;
    }

    footer p {
        line-height: 1.4;
    }

    .faq-section {
        padding: 1rem 0;
    }

    .faq-header {
        margin-bottom: 1rem;
    }

    .faq-header .section-title {
        font-size: 1rem;
    }

    .btn-faq-toggle {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .accordion-item {
        margin-bottom: 0.5rem;
        border-radius: 8px;
    }

    .accordion-button {
        font-size: 0.8rem;
        padding: 0.75rem;
    }

    .accordion-body {
        font-size: 0.75rem;
        padding: 0.75rem;
        line-height: 1.5;
    }

    /* Widget mode - hide demo row */
    .file-list-row.demo {
        display: none;
    }

    /* Widget mode - checkbox options */
    .checkbox-options {
        font-size: 0.8rem;
        max-height: 200px;
    }

    .lang-badge {
        font-size: 0.75rem;
        padding: 2px 6px;
        height: 20px;
    }

    #selectedLangs {
        gap: 4px;
    }

    /* Widget mode - BlockUI styles */
    .blockUI.blockOverlay {
        background-color: rgba(0, 0, 0, 0.4) !important;
    }

    .blockUI.blockMsg,
    .blockPage {
        width: 85% !important;
        max-width: 300px !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        padding: 15px !important;
        border-radius: 12px !important;
        font-size: 0.85rem !important;
    }

    .blockPage h4,
    .blockUI h4 {
        font-size: 0.95rem !important;
        margin: 0.5rem 0 !important;
    }

    .blockPage .spinner-loader,
    .blockUI .spinner-loader {
        transform: scale(0.7);
    }

    #blockMessage {
        text-align: center;
    }

    #blockMessage .row {
        flex-direction: column;
        align-items: center;
    }

    #blockMessage .col-sm-2,
    #blockMessage .col-sm-10 {
        width: 100%;
        text-align: center;
    }

    #blockMessageTitle {
        font-size: 0.9rem !important;
        margin-top: 0.5rem !important;
    }

    #blockMessageSubTitle {
        font-size: 0.8rem;
    }

    #blockMessageProgress {
        font-size: 0.75rem;
    }

    /* Widget mode - hide verbose hero text */
    .hero-content p:nth-of-type(2) {
        display: none;
    }

    /* Widget mode - simplify hero section further */
    .hero-content p:first-of-type {
        margin-bottom: 0.5rem;
    }

    /* Widget mode - FAQ section hidden by default */
    .faq-section {
        display: none;
    }

    /* Widget mode - simplify order details */
    .order-details-col h3 {
        display: none;
    }

    /* Widget mode - hide quality unavailable labels */
    .quality-label-unavailable {
        font-size: 0.7rem;
    }

    /* Widget mode - user login dropdown adjustments */
    #user-login-status .username {
        display: none;
    }

    /* Widget mode - hide admin order button */
    #btn-order-admin-submit {
        display: none;
    }

    #selectedLangsCount {
        margin-top: 0.5rem;
    }

    .delete-file {
        position: absolute;
        top: -160px;
        right: 10px;
    }
    td.pronto-icon-group {
        border: none;
        padding: 0 !important;
        margin-top: 0 !important;
        font-size: small !important;
    }

    .blockMessageContent {
        text-align: center !important;
    }
}