/* =============================================
   MDS DIGITAL SIGN — DESIGN SYSTEM
   ============================================= */

/* ===== PAGE LAYOUT ===== */

.page {
    padding: 30px;
}

.page-header {
    display: flex;
    margin-bottom: 20px;
    flex-direction: column;
    gap: 12px;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
}

.page-subtitle {
    font-size: 14px;
    color: #6c757d;
}

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

.header-filters {
    display: flex;
    gap: 10px;
}

/* ===== CARDS ===== */

.modern-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.card-content-modern {
    padding: 30px;
}

/* ===== STAT CARDS ===== */

.stat-card,
.businesses-stat,
.template-stat {
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f3f6fb 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.stat-card strong,
.businesses-stat strong,
.template-stat strong {
    display: block;
    font-size: 1.6rem;
    color: #2c3e50;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-card span,
.businesses-stat span,
.template-stat span {
    color: #6b7280;
    font-size: 0.95rem;
}

/* ===== GRIDS ===== */

.stat-grid,
.businesses-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.card-grid,
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

/* ===== TABLES ===== */

.modern-table {
    width: 100%;
    border-collapse: collapse;
}

.modern-table th {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.modern-table td {
    padding: 12px;
    border-bottom: 1px solid #f3f3f3;
}

.table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.03);
}

/* DataTables overrides */
table.dataTable thead th,
table.dataTable thead td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

table.dataTable.no-footer {
    border: none;
}

/* Item category list header */
.container_header_list {
    display: flex;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.03);
}

.container_header_list > button {
    margin-left: 10px;
}

/* ===== ACTIONS ROW ===== */

.actions,
.businesses-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

/* ===== BUTTONS ===== */

.btn-primary-modern {
    background: #3490dc;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-modern:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    text-decoration: none;
}

.btn-secondary-modern {
    background: white;
    color: #3490dc;
    border: 1px solid #3490dc;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary-modern:hover {
    background: #3490dc;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-edit {
    background: #3490dc;
    color: white;
    border: 1px solid #3490dc;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-edit:hover {
    color: white;
    text-decoration: none;
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.btn-delete {
    background: white;
    color: #e3342f;
    border: 1px solid #e3342f;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-delete:hover {
    background-color: #e3342f;
    color: #fff;
    text-decoration: none;
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.btn-link {
    background: none;
    border: none;
    color: #3490dc;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
}

.link-modern {
    color: #3490dc;
    text-decoration: none;
}

.link-modern:hover {
    color: #3490dc;
    text-decoration: underline;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3490dc;
    text-decoration: none;
    font-weight: 500;
}

.download-link:hover {
    transform: translateY(-1px);
    opacity: 0.85;
}

/* ===== STATUS & BADGES ===== */

.status-dot {
    height: 12px;
    width: 12px;
    border-radius: 50%;
}

.empty {
    text-align: center;
    padding: 20px;
    color: #999;
}

.business-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #374151;
}

.business-status::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d15b5b;
}

.business-status.is-active::before {
    background: #16991d;
}

.business-logo {
    width: 70px;
    border-radius: 10px;
    display: block;
}

.client-template-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 8px 10px;
    border-radius: 999px;
    background: #eff3f8;
    color: #3490dc;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ===== PAGINATION ===== */

.pagination-modern {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

/* ===== FORMS ===== */

.modern-form-group {
    margin-bottom: 14px;
}

.modern-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin-bottom: 5px;
}

.modern-form-group .form-control,
.modern-form-group select,
.modern-form-group input[type="text"],
.modern-form-group input[type="url"],
.modern-form-group textarea {
    border-radius: 8px;
    border: 1px solid #dde1e7;
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.2s;
    width: 100%;
}

.modern-form-group .form-control:focus,
.modern-form-group input:focus,
.modern-form-group select:focus,
.modern-form-group textarea:focus {
    border-color: #3490dc;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 144, 220, 0.1);
}

.modern-form-group .invalid-feedback {
    display: block;
    font-size: 12px;
    color: #e3342f;
    margin-top: 4px;
}

.modern-form-group input[type="text"]:disabled,
.modern-form-group .form-control:disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 1;
}

.modern-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modern-form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

/* ===== FILTERS & TOOLBAR ===== */

.modern-filter {
    width: 85%;
}

.modern-filter,
.businesses-toolbar,
.template-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.businesses-filter-form {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    flex-wrap: wrap;
    flex: 1 1 760px;
}

.filter-actions {
    display: flex;
    gap: 10px;
}

/* ===== FIELD GROUPS ===== */

.field-group,
.filter-group,
.businesses-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 180px;
    flex: 1 1 200px;
}

.field-group label,
.businesses-field label {
    margin: 0;
    color: #374151;
    font-size: 0.92rem;
    font-weight: 600;
}

/* ===== INPUTS & SELECTS ===== */

.modern-input,
.modern-select:not(.ss-wrapper),
.input-modern,
.select-modern,
.businesses-input,
.businesses-select,
.template-select {
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #d6dbe3;
    background: #fff;
    color: #1f2937;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    min-width: 150px;
    font-size: 14px;
}

.modern-input:focus,
.modern-select:not(.ss-wrapper):focus,
.input-modern:focus,
.select-modern:focus,
.businesses-input:focus,
.businesses-select:focus,
.template-select:focus {
    border-color: #3490dc;
    box-shadow: 0 0 0 3px rgba(52, 144, 220, 0.12);
    outline: none;
}
.header-controls .filter-group {
    /* max-width: 200px; */
    width: 20%;
}
.filter-group .modern-select {
    width: 100%;
    /* max-width: 200px; */
}

/* SearchableSelect (.ss-wrapper) quando usa a classe modern-select */
.modern-select.ss-wrapper {
    min-width: 150px;
    max-width: 30%;
}
.modern-select.ss-wrapper .ss-trigger {
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    border-color: #d6dbe3;
    font-size: 14px;
    min-height: unset;
}
.modern-select.ss-wrapper .ss-trigger.ss-open {
    border-color: #3490dc;
    box-shadow: 0 0 0 3px rgba(52, 144, 220, 0.12);
}

.template-selector-card .template-select {
    max-width: 460px;
    width: 100%;
}

/* ===== UPLOAD AREA ===== */

.upload-area-modern {
    border: 2px dashed #c8d6e5;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    cursor: pointer;
    transition: 0.2s;
}

.upload-area-modern:hover {
    border-color: #3490dc;
    background: #eef5fb;
}

.upload-area-modern .upload-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3490dc;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.upload-area-modern .upload-hint {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

/* ===== FILE PREVIEW TABLE ===== */

.file-preview-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.file-preview-table th {
    padding: 10px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
}

.file-preview-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f3f3f3;
    vertical-align: middle;
}

.file-preview-table td:last-child {
    border-bottom: none;
}

.file-preview-table input,
.file-preview-table select {
    border-radius: 6px;
    border: 1px solid #dde1e7;
    padding: 5px 8px;
    font-size: 13px;
    width: 100%;
}

/* ===== CLIENT CHECKBOX LIST ===== */

.clients-checkbox-list {
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid #dde1e7;
    border-radius: 8px;
    background: #fff;
}

.clients-checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid #f3f3f3;
    transition: background 0.15s;
}

.clients-checkbox-item:last-child {
    border-bottom: none;
}

.clients-checkbox-item:hover {
    background: #f8f9fa;
}

.clients-checkbox-item.select-all-row {
    background: #f0f6ff;
    border-bottom: 1px solid #dde1e7;
    font-weight: 600;
}

.clients-checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #3490dc;
    cursor: pointer;
}

.clients-checkbox-item label {
    margin: 0;
    font-size: 14px;
    cursor: pointer;
    color: #333;
}

/* ===== ALERTS ===== */

.queue-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #e8f4fd;
    border: 1px solid #b8daf7;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #1a6fa8;
    margin-bottom: 16px;
}

.queue-alert svg {
    flex-shrink: 0;
}

/* ===== NAVBAR ===== */

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item-modern {
    list-style: none;
}

.nav-link-modern {
    position: relative;
    display: inline-block;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    text-decoration: none;
    transition: all 0.25s ease;
    text-align: center;
}

.nav-link-modern:hover {
    color: #3490dc;
    transform: translateY(-2px);
    text-decoration: none;
}

.nav-link-modern::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0%;
    height: 2px;
    background: #3490dc;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link-modern:hover::after,
.nav-link-modern.active::after {
    width: 60%;
}

.nav-link-modern.active {
    color: #3490dc;
}

/* ===== NAVBAR DROPDOWN ===== */

.nav-dropdown {
    position: relative;
    list-style: none;
}

.nav-dropdown-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 14px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

.nav-dropdown-toggle:hover {
    color: #3490dc;
    transform: translateY(-2px);
}

.nav-dropdown-toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0%;
    height: 2px;
    background: #3490dc;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-dropdown-toggle:hover::after,
.nav-dropdown-toggle.active::after {
    width: 60%;
}

.nav-dropdown-toggle.active {
    color: #3490dc;
}

.nav-dropdown-toggle .nav-dropdown-arrow {
    font-size: 10px;
    transition: transform 0.25s ease;
    margin-left: 2px;
}

.nav-dropdown.open .nav-dropdown-toggle .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 6px;
    min-width: 160px;
    z-index: 1000;
    list-style: none;
    margin: 0;
}

.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu li {
    list-style: none;
}

.nav-dropdown-menu a {
    display: block;
    padding: 8px 14px;
    border-radius: 7px;
    font-size: 13px;
    color: #4a5568;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: #f0f7ff;
    color: #3490dc;
}

.nav-dropdown-menu a.active {
    color: #3490dc;
    background: #f0f7ff;
    font-weight: 500;
}

/* ===== MODALS ===== */

.modern-modal-content {
    border: none;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: visible;
    padding: 20px;
}

.modern-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    background: #fff;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
}

.modern-modal-title {
    font-size: 17px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.modern-modal-close {
    background: none;
    border: none;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.15s;
}

.modern-modal-close:hover {
    color: #333;
}

.modern-modal-body {
    padding: 20px 24px;
    background: #ffffff;
}

.modern-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 24px;
    border-top: 1px solid #eee;
    background: #fff;
    border-radius: 0 0 14px 14px;
    overflow: hidden;
}

/* Feedback modal overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease;
}

.modal-success {
    background: white;
    padding: 30px 40px;
    border-radius: 14px;
    min-width: 320px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.25s ease;
}

.modal-success h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #555;
}

.modal-success p {
    margin-bottom: 20px;
    font-size: 15px;
    color: #555;
}

/* ===== LOGIN ===== */

.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
}

.login-card {
    padding: 40px;
    border-radius: 14px;
}

.login-header {
    margin-bottom: 25px;
}

.form-modern {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
    width: 100%;
}

.form-modern label {
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 500;
}

.input-modern-login {
    width: 100%;
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    box-sizing: border-box;
}

.input-modern-login:focus {
    outline: none;
    border-color: #3490dc;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.error-modern {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

.remember-modern {
    margin-bottom: 20px;
    font-size: 13px;
}

.login-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.full-width {
    width: 100%;
}

.small-link {
    font-size: 13px;
    text-align: center;
}

/* ===== HOME MENU ===== */

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.menu-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
    border: 1px solid #eee;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #333;
}

.menu-icon svg {
    width: 32px;
    height: 32px;
    stroke: #3490dc;
    margin-bottom: 12px;
}

.menu-title {
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

/* ===== WELCOME SECTION ===== */

.welcome-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.welcome-title {
    font-size: 20px;
    font-weight: 600;
}

.welcome-text {
    color: #6c757d;
}

.welcome-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

/* ===== BUSINESSES PAGE ===== */

.template-manager-highlight {
    padding: 28px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #f3f6fb 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.template-manager-highlight h3 {
    margin: 0 0 10px;
    font-size: 1.4rem;
    color: #2c3e50;
}

.template-manager-highlight p {
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
    max-width: 60ch;
}

/* ===== TEMPLATE MANAGER (clientsLayouts) ===== */

.template-manager-shell {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.template-manager-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
    gap: 20px;
    align-items: stretch;
}

.template-manager-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.template-selector-card {
    padding: 20px 24px;
}

.template-selector-label {
    display: block;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 700;
    font-size: 0.95rem;
}

.client-template-card {
    padding: 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.client-template-card.is-hidden {
    display: none;
}

.client-template-card-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.client-template-card h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.client-template-card p {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.template-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.template-chip {
    border: 1px solid #d6dbe3;
    background: #fff;
    color: #5e5e5e;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.template-chip:hover {
    border-color: #3490dc;
    color: #2c3e50;
}

.template-chip.is-active {
    background: #3490dc;
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 18px rgba(60, 110, 168, 0.24);
}

.template-chip.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

.template-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 4px;
}

.template-card-status {
    color: #6b7280;
    font-size: 0.92rem;
}

.template-empty,
.template-empty-selection {
    padding: 36px 24px;
    text-align: center;
    color: #6b7280;
}

/* ===== ANIMATIONS ===== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
    .template-manager-intro {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .businesses-toolbar,
    .businesses-filter-form,
    .modern-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .businesses-actions {
        width: 100%;
    }

    .businesses-actions > * {
        flex: 1 1 auto;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .template-manager-highlight,
    .template-stat,
    .client-template-card {
        padding: 18px;
    }

    .client-template-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .template-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
