.wrap.frontcat-wrap { margin-top: 20px; }
.frontcat-builder { display: grid; grid-template-columns: 320px 1fr; gap: 24px; margin-top: 24px; align-items: flex-start; }
.frontcat-builder__sidebar { flex: 0 0 320px; }
.frontcat-builder__main { flex: 1; min-width: 0; }
.frontcat-card { background-color: #fff; border: 1px solid #e0e0e0; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.frontcat-card__header { padding: 16px 20px; margin: 0; border-bottom: 1px solid #e0e0e0; }
.frontcat-card__header h2 { font-size: 16px; margin: 0; padding: 0; border: none; }
.frontcat-card__body { padding: 20px; }
.frontcat-schema-list { list-style: none; margin: 0 !important; padding: 0 !important; }
.frontcat-schema-list li { display: flex; justify-content: space-between; align-items: center; padding: 0 !important; margin: 0 !important; border-bottom: 1px solid #f0f0f0; }
.frontcat-schema-list li:last-child { border-bottom: none; }
.frontcat-schema-list li.current a { color: #1a73e8; font-weight: 600; background-color: #f0f5ff; }
.frontcat-schema-list li a { padding: 12px 20px; text-decoration: none; display: block; flex-grow: 1; color: #444; transition: background-color 0.2s ease-in-out; }
.frontcat-schema-list li a:hover { background-color: #f7f7f7; }
.frontcat-schema-list li .delete-link { flex-shrink: 0; padding: 12px 20px; color: #a00 !important; }
.frontcat-schema-list li .delete-link:hover { background-color: #fbeaea; }
.frontcat-schema-list .dashicons-trash { font-size: 18px; }
.form-field { margin-bottom: 16px; padding: 0; }
.form-field label { font-weight: 500; margin-bottom: 6px; display: block; }
.form-field .description { font-size: 13px; color: #646970; font-style: italic; margin-top: 4px; }
.form-field input[type="text"], .form-field select, .form-field textarea { width: 100%; padding: 8px 12px; border-radius: 6px; border: 1px solid #ddd; }
.form-field input[type="text"]:focus, .form-field select:focus, .form-field textarea:focus { border-color: #1a73e8; box-shadow: 0 0 0 1px #1a73e8; }
.frontcat-gallery-wrapper .gallery-previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 5px; margin-bottom: 15px; border: 1px solid #ddd; padding: 10px; border-radius: 4px; background-color: #fdfdfd; }
.frontcat-gallery-wrapper .gallery-preview-item { position: relative; width: 90px; height: 90px; border: 1px solid #ccc; border-radius: 4px; overflow: hidden; background: #eee; }
.frontcat-gallery-wrapper .gallery-preview-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frontcat-gallery-wrapper .gallery-preview-item .remove-image { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; background-color: rgba(0, 0, 0, 0.6); color: #fff; text-decoration: none; text-align: center; line-height: 20px; font-size: 16px; font-weight: bold; border-radius: 50%; transition: background-color 0.2s; }
.frontcat-gallery-wrapper .gallery-preview-item .remove-image:hover { background-color: rgba(200, 0, 0, 0.8); }
.frontcat-submit-form .image-preview-wrapper, .frontcat-submit-form .video-preview-wrapper { margin-bottom: 10px; min-height: 50px; width: 100px; height: 100px; border: 2px dashed #ddd; border-radius: 4px; display: flex; align-items: center; justify-content: center; background-color: #f9f9f9; overflow: hidden; position: relative; }
.frontcat-submit-form .image-preview-wrapper img, .frontcat-submit-form .video-preview-wrapper img { max-width: 100%; height: auto; display: block; object-fit: cover; width: 100%; height: 100%; }
.frontcat-submit-form .video-preview-wrapper::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 32px; height: 32px; background-color: rgba(0, 0, 0, 0.5); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8,5.14V19.14L19,12.14L8,5.14Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 16px; pointer-events: none; }
.frontcat-submit-form .frontcat-field-hint { font-size: 13px; color: var(--fc-text-light); margin: 8px 0 0 0; padding: 0; }
.taxonomy-field-wrapper { display: flex; align-items: center; gap: 8px; }
.taxonomy-field-wrapper select { flex-grow: 1; }
.taxonomy-field-wrapper a { white-space: nowrap; }
#delete-cat-button { color: #a00; font-weight: bold; }
.frontcat-image-upload-wrapper, .frontcat-video-upload-wrapper { display: flex; align-items: flex-start; gap: 15px; }
.frontcat-image-upload-wrapper .image-preview-wrapper, .frontcat-video-upload-wrapper .video-preview-wrapper { margin-bottom: 0; }
.frontcat-image-upload-wrapper .image-buttons, .frontcat-video-upload-wrapper .image-buttons { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.frontcat-remove-image, .frontcat-remove-video { color: #a00; font-size: 13px; }
.frontcat-remove-image.hidden, .frontcat-remove-video.hidden { display: none; }
.frontcat-importer-instructions { margin-top: 24px; }
.frontcat-importer-instructions ul { list-style: disc; padding-left: 20px; }
.frontcat-importer-instructions pre { background-color: #f7f7f7; padding: 15px; border-radius: 6px; white-space: pre-wrap; word-break: break-all; }
.frontcat-builder__sidebar .frontcat-card__body { padding: 20px; }
.frontcat-builder .frontcat-card__body h2 { font-size: 1.5em; margin: 0 0 1em; padding: 0; border-bottom: none; }
.frontcat-builder .frontcat-card__body h3 { font-size: 1.1em; margin: 0 0 1em; padding-bottom: 0.5em; border-bottom: 1px solid #eee; }
.frontcat-builder hr { border: none; border-top: 1px solid #e7e7e7; margin: 24px 0; }
.frontcat-table { width: 100%; border-collapse: collapse; margin-top: 1.5em; }
.frontcat-table th, .frontcat-table td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #eee; }
.frontcat-table thead th { background-color: #f9f9f9; font-weight: 600; font-size: 13px; color: #444; }
.frontcat-table tbody tr:last-child td { border-bottom: none; }
.frontcat-table tbody tr:hover { background-color: #fdfdfd; }
.frontcat-table code { background-color: #eef0f2; padding: 3px 6px; border-radius: 4px; font-size: 13px; }
.frontcat-table .delete-link { color: #d63638; font-weight: 500; text-decoration: none; }
.frontcat-table .delete-link:hover { text-decoration: underline; }

.frontcat-preset-hostinger {
	--fc-primary-color: #673DE6;
	--fc-body-bg: #f7f7f9;
	--fc-container-bg: #FFFFFF;
	--fc-text-dark: #231E39;
	--fc-text-light: #6A6A6A;
	--fc-border-color: #E7E7E7;
	--fc-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--fc-border-radius: 8px;
	--fc-box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
	font-family: var(--fc-font-family);
	color: var(--fc-text-dark);
}
.frontcat-preset-hostinger .frontcat-login-form, .frontcat-preset-hostinger .frontcat-dashboard { background-color: transparent; border: none; box-shadow: none; max-width: 1000px; margin: 40px auto; padding: 0; }
.frontcat-preset-hostinger .frontcat-dashboard-header { display: flex; justify-content: space-between; align-items: center; background-color: var(--fc-container-bg); padding: 24px; box-shadow: var(--fc-box-shadow); margin-bottom: 30px; }
.frontcat-preset-hostinger .frontcat-dashboard-header .welcome-text h2 { margin: 0; font-size: 18px; font-weight: 600; }
.frontcat-preset-hostinger .frontcat-dashboard-header .welcome-text p { margin: 4px 0 0 0; font-size: 14px; }
.frontcat-preset-hostinger .logout-link { margin-top: 12px; font-size: 13px; font-weight: 500; color: var(--fc-text-light); text-decoration: none; display: inline-flex; align-items: center; transition: color 0.2s; }
.frontcat-preset-hostinger .logout-link:hover { color: var(--fc-primary-color); }
.frontcat-preset-hostinger .logout-link::before { content: ''; display: inline-block; width: 16px; height: 16px; margin-right: 6px; background-color: currentColor; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16,17V14H9V10H16V7L21,12L16,17M14,2A2,2 0 0,1 16,4V6H14V4H5V20H14V18H16V20A2,2 0 0,1 14,22H5A2,2 0 0,1 3,20V4A2,2 0 0,1 5,2H14Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16,17V14H9V10H16V7L21,12L16,17M14,2A2,2 0 0,1 16,4V6H14V4H5V20H14V18H16V20A2,2 0 0,1 14,22H5A2,2 0 0,1 3,20V4A2,2 0 0,1 5,2H14Z'/%3E%3C/svg%3E"); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.frontcat-preset-hostinger .frontcat-filters { display: flex; gap: 16px; margin-bottom: 20px; }
.frontcat-preset-hostinger .frontcat-filters .filter-item { flex: 1; }
.frontcat-preset-hostinger .frontcat-filters input[type="search"], .frontcat-preset-hostinger .frontcat-filters select { width: 100%; padding: 12px 15px; border: 1px solid var(--fc-border-color); border-radius: var(--fc-border-radius); background-color: var(--fc-container-bg); font-family: var(--fc-font-family); font-size: 14px; transition: border-color 0.2s, box-shadow 0.2s; }
.frontcat-preset-hostinger .frontcat-filters input[type="search"]:focus, .frontcat-preset-hostinger .frontcat-filters select:focus { border-color: var(--fc-primary-color); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fc-primary-color) 20%, transparent); outline: none; }
.frontcat-preset-hostinger .frontcat-login-form form { max-width: 450px; margin: 40px auto; }
.frontcat-preset-hostinger .frontcat-login-form .submit { margin-top: 24px; margin-bottom: 16px; }
.frontcat-preset-hostinger .frontcat-login-form #wp-submit { width: 100%; }
.frontcat-preset-hostinger .button, .frontcat-preset-hostinger input[type="submit"] { background-color: var(--fc-primary-color); color: #fff; border: 1px solid transparent; padding: 12px 20px; font-size: 14px; border-radius: var(--fc-border-radius); font-weight: bold; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block; text-align: center; }
.frontcat-preset-hostinger .button:focus, .frontcat-preset-hostinger input[type="submit"]:focus, .frontcat-preset-hostinger .button:focus-visible, .frontcat-preset-hostinger input[type="submit"]:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--fc-primary-color) 40%, transparent); }
.frontcat-preset-hostinger .button:hover, .frontcat-preset-hostinger input[type="submit"]:hover { background-color: color-mix(in srgb, var(--fc-primary-color) 90%, black); border-color: color-mix(in srgb, var(--fc-primary-color) 90%, black); }
.frontcat-preset-hostinger .button.button-small { padding: 8px 14px; font-size: 13px; }
.frontcat-preset-hostinger .button-primary { box-shadow: 0 4px 12px rgba(40, 40, 60, 0.15); }
.frontcat-preset-hostinger .button.button-secondary { background-color: var(--fc-body-bg); color: var(--fc-text-dark); border: 1px solid var(--fc-border-color); box-shadow: none; }
.frontcat-preset-hostinger .button.button-secondary:hover { background-color: color-mix(in srgb, var(--fc-border-color), black 5%); border-color: color-mix(in srgb, var(--fc-border-color), black 10%); }
.dashboard-header-actions { display: flex; align-items: center; gap: 12px; }
.frontcat-preset-hostinger .frontcat-items-container { background-color: var(--fc-container-bg); box-shadow: var(--fc-box-shadow); }
.frontcat-preset-hostinger .frontcat-items-container h3 { font-size: 16px; margin: 0 0 20px 0; font-weight: 600; }
.frontcat-preset-hostinger .frontcat-items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; transition: opacity 0.3s; }
.frontcat-item-card { border: 1px solid var(--fc-border-color); display: flex; align-items: center; padding: 16px; transition: box-shadow 0.2s, border-color 0.2s; }
.frontcat-item-card:hover { border-color: #d8d8d8; box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.07); }
.frontcat-item-card .card-thumbnail { flex-shrink: 0; width: 50px; height: 50px; margin-right: 16px; border-radius: 50%; overflow: hidden; background-color: #f0f0f0; }
.frontcat-item-card .card-thumbnail .no-thumb { width: 100%; height: 100%; background-color: #e9e9e9; }
.frontcat-item-card .card-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.frontcat-item-card .card-content { flex-grow: 1; }
.frontcat-item-card .card-title { margin: 0 0 4px 0; font-size: 15px; font-weight: 600; }
.frontcat-item-card .card-meta { font-size: 13px; color: var(--fc-text-light); }
.card-actions { display: flex; align-items: center; }
.card-actions a { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
.card-actions a.icon-after { flex-direction: row-reverse; }
.card-actions a.icon-only { width: 32px; height: 32px; border-radius: 50%; padding: 0 !important; }
.card-actions a.icon-only i, .card-actions a.icon-only svg { font-size: 16px; }
.frontcat-item-card .card-actions { gap: 4px; }
.frontcat-item-card .card-actions a:not([class*="elementor-element-"]) { width: 32px; height: 32px; border-radius: 50%; }
.frontcat-item-card .card-actions a:not([class*="elementor-element-"]):hover { background-color: #f0f0f0; }
.frontcat-item-card .card-actions .open-edit-modal:not([class*="elementor-element-"])::before, .frontcat-item-card .card-actions .delete-item-ajax:not([class*="elementor-element-"])::before { content: ''; display: inline-block; width: 18px; height: 18px; background-size: contain; background-repeat: no-repeat; margin: 0; }
.frontcat-item-card .card-actions .open-edit-modal:not([class*="elementor-element-"])::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236A6A6A'%3E%3Cpath d='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.13,5.12L18.88,8.87M3,17.25V21H6.75L17.81,9.94L14.06,6.19L3,17.25Z'/%3E%3C/svg%3E"); }
.frontcat-item-card .card-actions .delete-item-ajax:not([class*="elementor-element-"])::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a00'%3E%3Cpath d='M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z'/%3E%3C/svg%3E"); }
.frontcat-preset-hostinger #frontcat-modal-content h2 { font-size: 22px; margin: 0 0 5px 0; font-weight: 600; }
.frontcat-preset-hostinger #frontcat-modal-content h3.frontcat-modal-title { font-size: 16px; font-weight: 400; color: var(--fc-text-light); margin: 0 0 30px 0; padding: 0; padding-right: 30px; border: none; }
.frontcat-preset-hostinger .frontcat-submit-form p { margin: 0 0 20px 0; }
.frontcat-preset-hostinger .frontcat-submit-form p:last-of-type { margin-bottom: 0; }
.frontcat-preset-hostinger .frontcat-submit-form label { font-weight: 500; margin-bottom: 8px; display: block; font-size: 13px; color: var(--fc-text-light); }
.frontcat-preset-hostinger .frontcat-submit-form a { color: var(--fc-primary-color); text-decoration: none; font-weight: 500; }
.frontcat-preset-hostinger .frontcat-submit-form a:hover { text-decoration: underline; }
#frontcat-schema-selector-form { display: flex; flex-direction: column; gap: 15px; }
.frontcat-preset-hostinger .frontcat-submit-form input[type="text"], .frontcat-preset-hostinger .frontcat-submit-form input[type="number"], .frontcat-preset-hostinger .frontcat-submit-form input[type="password"], .frontcat-preset-hostinger .frontcat-submit-form input[type="time"], .frontcat-preset-hostinger .frontcat-submit-form select, .frontcat-preset-hostinger .frontcat-submit-form textarea, #frontcat-schema-selector-form select { width: 100%; padding: 12px 15px; border: 1px solid var(--fc-border-color); border-radius: var(--fc-border-radius); background-color: var(--fc-body-bg); font-family: var(--fc-font-family); font-size: 14px; transition: border-color 0.2s, box-shadow 0.2s; }
.frontcat-preset-hostinger .frontcat-submit-form input[type="text"]:focus, .frontcat-preset-hostinger .frontcat-submit-form input[type="number"]:focus, .frontcat-preset-hostinger .frontcat-submit-form input[type="password"]:focus, .frontcat-preset-hostinger .frontcat-submit-form input[type="time"]:focus, .frontcat-preset-hostinger .frontcat-submit-form select:focus, .frontcat-preset-hostinger .frontcat-submit-form textarea:focus, #frontcat-schema-selector-form select:focus { border-color: var(--fc-primary-color); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fc-primary-color) 20%, transparent); outline: none; }
.frontcat-new-item-area { margin-top: 10px; padding: 15px; border: 1px solid var(--fc-border-color); background-color: var(--fc-body-bg); border-radius: var(--fc-border-radius); }
.frontcat-new-item-area input[type="text"] { margin-bottom: 10px; }
.frontcat-new-item-area .cancel-new-item-link { margin-left: 10px; font-size: 13px; color: var(--fc-text-light); text-decoration: none; }
.frontcat-new-item-area .cancel-new-item-link:hover { text-decoration: underline; }
.frontcat-new-item-area .new-item-status { font-size: 12px; margin-top: 8px; }
.frontcat-preset-hostinger .frontcat-submit-form .button-link.frontcat-remove-image { font-size: 13px; font-weight: 500; text-decoration: none; color: #a00; }
.frontcat-preset-hostinger .frontcat-submit-form .button-link.frontcat-remove-image:hover { text-decoration: underline; }
.frontcat-preset-hostinger .frontcat-submit-form input[type="file"]::file-selector-button { background-color: var(--fc-container-bg); color: var(--fc-text-dark); border: 1px solid var(--fc-border-color); padding: 8px 12px; font-size: 14px; font-weight: 500; border-radius: var(--fc-border-radius); cursor: pointer; transition: all 0.2s; margin-right: 12px; }
.frontcat-preset-hostinger .frontcat-submit-form input[type="file"]::file-selector-button:hover { background-color: var(--fc-body-bg); border-color: var(--fc-primary-color); }
.frontcat-search-container { display: flex; align-items: stretch; }
.frontcat-search-container .frontcat-search-input { flex-grow: 1; }
.frontcat-search-container .frontcat-search-button { display: inline-flex; align-items: center; justify-content: center; padding: 0 15px; cursor: pointer; }
.frontcat-search-container .frontcat-search-button i, .frontcat-search-container .frontcat-search-button svg { font-size: 1em; }
.frontcat-search-container .frontcat-search-button span { margin-left: 8px; }
.frontcat-category-filter-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.frontcat-category-filter-item { display: block; padding: 8px 16px; text-decoration: none; border: 1px solid #ddd; border-radius: 4px; transition: all 0.2s ease-in-out; }
.frontcat-search-container { display: flex; align-items: stretch; gap: 0; }
.frontcat-search-wrapper .elementor-widget-container { width: 100%; display: flex; }
.frontcat-search-container .frontcat-search-input { flex-grow: 1; min-width: 0; border-right: none; border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.frontcat-search-container .frontcat-search-button { flex-shrink: 0; border-left: none; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; display: flex; align-items: center; justify-content: center; }
.frontcat-search-container .frontcat-search-input:focus, .frontcat-search-container .frontcat-search-button:focus { outline: none; }
.frontcat-dropdown-wrapper { position: relative; display: inline-block; width: 100%; }
.frontcat-dropdown-wrapper::after { content: '\f107'; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; top: 50%; right: 15px; transform: translateY(-50%); pointer-events: none; }
.frontcat-category-filter-dropdown { width: 100%; cursor: pointer; -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-right: 35px !important; transition: all 0.2s ease-in-out; }
.frontcat-category-filter-dropdown:focus { outline: none; }
select::-ms-expand { display: none; }
#frontcat-modal-wrapper { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 9999999; padding: 40px 20px; align-items: center; justify-content: center; }
#frontcat-modal-content { background: var(--fc-container-bg); width: 90%; max-width: 850px; margin: auto; padding: 30px; border-radius: var(--fc-border-radius); position: relative; overflow-y: auto; max-height: 100%; }
.frontcat-modal-close-button { position: absolute; top: 15px; right: 20px; font-size: 28px; line-height: 1; text-decoration: none; color: var(--fc-text-light); transition: color 0.2s ease-in-out; background: transparent; border: none; cursor: pointer; padding: 5px; }
.frontcat-modal-close-button:hover { color: var(--fc-primary-color); }
html.modal-open, body.modal-open { overflow: hidden; }
#frontcat-gallery-modal-content { transition: all 0.3s ease; }
.frontcat-category-manager-list { list-style: none; margin: 20px 0 0 0; padding: 0; max-height: 400px; overflow-y: auto; border: 1px solid var(--fc-border-color); border-radius: var(--fc-border-radius); }
.frontcat-category-manager-list li { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; border-bottom: 1px solid var(--fc-border-color); }
.frontcat-category-manager-list li:last-child { border-bottom: none; }
.frontcat-category-manager-list .term-name { font-weight: 500; }
.frontcat-category-manager-list .term-actions a { color: #a00; text-decoration: none; font-size: 13px; font-weight: 500; }
.frontcat-category-manager-list .term-actions a:hover { text-decoration: underline; }
.frontcat-category-manager-list .term-count { font-size: 13px; color: var(--fc-text-light); margin-right: 15px; }

@media (max-width: 768px) {
    #frontcat-gallery-modal { padding: 10px; }
    #frontcat-gallery-modal-content {
        border-radius: 16px;
        border: 1px solid #eee;
        overflow: hidden;
    }
    .frontcat-preset-hostinger .frontcat-dashboard-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .frontcat-preset-hostinger .frontcat-filters { flex-direction: column; }
    .frontcat-preset-hostinger .frontcat-dashboard { margin: 20px auto; padding: 0 15px; }
    .frontcat-item-card { flex-direction: column; align-items: flex-start; gap: 15px; }
    .frontcat-item-card .card-content { width: 100%; }
    .frontcat-item-card .card-actions { width: 100%; justify-content: flex-end; }
    #frontcat-modal-wrapper { padding: 15px; align-items: flex-start !important; overflow-y: auto; }
    #frontcat-modal-content { padding: 20px; width: 100%; max-width: 100%; margin-top: auto; margin-bottom: auto; }
    .frontcat-preset-hostinger #frontcat-modal-content h3.frontcat-modal-title { padding-right: 40px; }
    .frontcat-modal-close-button { top: 10px; right: 10px; font-size: 24px; }
    .frontcat-submit-form .frontcat-image-upload-wrapper, .frontcat-submit-form .frontcat-video-upload-wrapper, .frontcat-submit-form .taxonomy-field-wrapper, #new-cat-area { flex-direction: column; align-items: flex-start; gap: 12px; }
    #new-cat-area #cancel-new-cat { margin-left: 0; }
    .frontcat-tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .frontcat-tabs-nav::-webkit-scrollbar {
        display: none;
    }
    .frontcat-tabs-nav {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .frontcat-tabs-nav li {
        flex-shrink: 0;
    }
}
.frontcat-tabs-wrapper { margin-bottom: 30px; }
.frontcat-tabs-nav { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 -1px 0; padding: 0; border-bottom: 1px solid var(--fc-border-color); gap: 4px; }
.frontcat-tabs-nav a { padding: 12px 20px; display: block; text-decoration: none; color: var(--fc-text-light); font-weight: 500; border: 1px solid transparent; border-bottom: none; border-radius: 6px 6px 0 0; position: relative; bottom: -1px; transition: all 0.2s ease-in-out; }
.frontcat-tabs-nav a:hover { color: var(--fc-text-dark); background-color: var(--fc-body-bg); }
.frontcat-tabs-nav a.active { color: var(--fc-primary-color); border-color: var(--fc-border-color); background-color: var(--fc-container-bg); }
.frontcat-tabs-content { padding-top: 25px; }
.frontcat-tab-pane { display: none; }
.frontcat-tab-pane.active { display: block; }
.frontcat-dashboard-wrapper { position: relative; }
.frontcat-dashboard-wrapper::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 0; }
.frontcat-dashboard-wrapper > .frontcat-preset-hostinger { position: relative; z-index: revert-layer; }
.frontcat-login-form form { background-color: var(--fc-container-bg, #fff); border: 1px solid var(--fc-border-color, #e7e7e7); padding: 40px; border-radius: var(--fc-border-radius, 8px); }
.frontcat-login-form .form-title { text-align: center; font-size: 24px; font-weight: 600; margin: 0 0 30px 0; color: var(--fc-text-dark, #231E39); }
.frontcat-login-form label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 8px; color: var(--fc-text-dark, #231E39); }
.frontcat-login-form .input { width: 100%; padding: 12px 15px; border: 1px solid var(--fc-border-color, #e7e7e7); border-radius: var(--fc-border-radius, 8px); background-color: var(--fc-body-bg); font-family: var(--fc-font-family); font-size: 14px; transition: border-color 0.2s, box-shadow 0.2s; }
.frontcat-login-form .input:focus { border-color: var(--fc-primary-color, #673DE6); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fc-primary-color, #673DE6) 20%, transparent); outline: none; }
.frontcat-login-form .restricted-access { text-align: center; font-size: 13px; color: var(--fc-text-light, #6A6A6A); margin: 0; }
.remember-me-toggle { display: flex; align-items: center; gap: 10px; margin-top: 16px; margin-bottom: 24px; }
.remember-me-toggle input[type="checkbox"] { display: none; }
.remember-me-toggle .toggle-label { font-size: 14px; color: var(--fc-text-dark, #231E39); cursor: pointer; }
.remember-me-toggle .toggle-switch { position: relative; display: inline-block; width: 40px; height: 22px; background-color: #ccc; border-radius: 11px; cursor: pointer; transition: background-color 0.2s; }
.remember-me-toggle .toggle-switch::before { content: ''; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; background-color: white; border-radius: 50%; transition: transform 0.2s; }
.remember-me-toggle input[type="checkbox"]:checked + .toggle-switch { background-color: var(--fc-primary-color, #673DE6); }
.remember-me-toggle input[type="checkbox"]:checked + .toggle-switch::before { transform: translateX(18px); }

.frontcat-taxonomy-checklist {
    border: 1px solid var(--fc-border-color);
    border-radius: var(--fc-border-radius);
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: var(--fc-body-bg);
}
.frontcat-taxonomy-checklist .frontcat-cat-checkbox {
    opacity: 0;
    position: absolute;
    width: 1px;
    height: 1px;
}
.frontcat-taxonomy-checklist label {
    display: inline-block;
    position: relative;
    height: 32px;
    line-height: 32px;
    padding: 0 32px 0 38px;
    margin-bottom: 0;
    font-weight: 500;
    font-size: 14px;
    border-radius: 16px;
    background-color: var(--fc-container-bg);
    color: var(--fc-text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--fc-border-color);
    white-space: nowrap;
}
.frontcat-taxonomy-checklist label:hover {
    border-color: color-mix(in srgb, var(--fc-primary-color) 50%, transparent);
    color: var(--fc-primary-color);
}
.frontcat-taxonomy-checklist .frontcat-cat-checkbox:checked + label {
    background-color: var(--fc-primary-color);
    color: #fff;
    border-color: var(--fc-primary-color);
}
.frontcat-taxonomy-checklist .frontcat-cat-checkbox:checked + label:hover {
    background-color: color-mix(in srgb, var(--fc-primary-color) 90%, black);
    border-color: color-mix(in srgb, var(--fc-primary-color) 90%, black);
}
.frontcat-taxonomy-checklist .pill-checkbox-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #adb5bd;
    border-radius: 50%;
    transition: all 0.2s;
}
.frontcat-taxonomy-checklist .frontcat-cat-checkbox:checked + label .pill-checkbox-icon {
    background-color: #fff;
    border-color: #fff;
}
.frontcat-taxonomy-checklist .pill-checkbox-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 9px;
    border: solid var(--fc-primary-color);
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s;
}
.frontcat-taxonomy-checklist .frontcat-cat-checkbox:checked + label .pill-checkbox-icon::before {
    opacity: 1;
}
.frontcat-taxonomy-checklist .pill-text {
    display: inline-block;
    line-height: inherit;
}
.frontcat-taxonomy-checklist .remove-pill {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transition: background-color 0.2s;
    text-decoration: none;
}
.frontcat-taxonomy-checklist .remove-pill:hover {
    background-color: rgba(214, 54, 56, 0.8);
}
.frontcat-taxonomy-checklist .remove-pill:hover .pill-delete-icon {
    color: #fff;
}
.frontcat-taxonomy-checklist .pill-delete-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9,3V4H4V6H5V19C5,20.1 5.9,21 7,21H17C18.1,21 19,20.1 19,19V6H20V4H15V3H9M7,19V6H17V19H7Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9,3V4H4V6H5V19C5,20.1 5.9,21 7,21H17C18.1,21 19,20.1 19,19V6H20V4H15V3H9M7,19V6H17V19H7Z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    opacity: 0.7;
    transition: color 0.2s, opacity 0.2s;
}
.frontcat-taxonomy-checklist .frontcat-cat-checkbox:checked + label .pill-delete-icon {
    color: #fff;
}
.frontcat-taxonomy-checklist .remove-pill:hover .pill-delete-icon {
    opacity: 1;
}
.frontcat-taxonomy-checklist .frontcat-cat-checkbox:checked + label .remove-pill:hover {
    background-color: rgba(255,255,255,0.2);
}
.frontcat-pagination-wrapper {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    transition: opacity 0.3s;
}
.frontcat-pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    margin: 0 4px;
    text-decoration: none;
    border: 1px solid var(--fc-border-color);
    color: var(--fc-text-light);
    background-color: var(--fc-container-bg);
    border-radius: var(--fc-border-radius);
    transition: all 0.2s;
    font-weight: 500;
    font-size: 14px;
}
.frontcat-pagination-wrapper .page-numbers:hover {
    border-color: var(--fc-primary-color);
    color: var(--fc-primary-color);
    background-color: color-mix(in srgb, var(--fc-primary-color) 10%, transparent);
}
.frontcat-pagination-wrapper .page-numbers.current {
    background-color: var(--fc-primary-color);
    border-color: var(--fc-primary-color);
    color: #fff;
    cursor: default;
}
.frontcat-pagination-wrapper .page-numbers.dots {
    border-color: transparent;
    background-color: transparent;
    cursor: default;
}
.frontcat-pagination-wrapper .page-numbers.dots:hover {
    color: var(--fc-text-light);
}