html { height: 100%; min-height: 100%; }
body {background-color: #f0f0f0;background-image: url('/images/partners/grid.svg');background-position: center center;background-repeat: no-repeat;h eight: 100%;min-height: 100%;font-family: Barlow; background-size: 1300px;}
a { text-decoration: none; color: #333333; }



/* topline and navigation */
header .topline { display: inline-block; align-items: center; background: #ffffff; padding: 6px 16px; border-radius: 5px; overflow: visible; position: relative; color: #111; height: 47px; position: relative; z-index: 2; }
header .topline-right { float: right; }
header #logo { height: 37px; margin: 5px 0px; transition: transform 0.1s; }
header #logo:hover { transform: scale(1.02); }
header .sect { background-color: #f6cf50; text-decoration: none; color: #4e5051; display: inline-flex; align-items: center; padding: 10px 10px 9px 15px; border-radius: 5px; border-bottom: 3px solid #eb9836; transition: padding 0.1s; margin: 0 3px; vertical-align: top; }
header .sect.users { background-color: #f0a1c9; border-color: #eb59aa; }
header .sect.announcements { background-color: #a8edea; border-color: #2bbcb2; }
header .sect.selected, header .sect:hover { padding-bottom: 20px; }
header .sect.selected { color: white; font-weight: bold; }
header .sect img { margin-left: 10px; height: 25px; }
header .sect_user { display: inline-flex; align-items: center; gap: 10px; height: 47px; vertical-align: top; }
header .sect_user a:hover { opacity: 0.8; }

header .hello { display: inline-flex; align-items: center; margin-left: 14px; }
header .hello a { line-height: 1; }
header .hello img { height: 30px; }
header .hello img.hello { height: 22px; margin-right: 2px; transform-origin: bottom right; }
header .hello img.hello:hover { animation: wave 1s infinite; }
@keyframes wave {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(8deg); }
    50% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}

header .logout { background-color: #325fed; color: #fff; font-size: 12px; font-weight: bold; padding: 7px 14px; border-radius: 5px; display: inline-flex; align-items: center; gap: 5px; }
header .logout img { height: 14px; }



/* login decorations */
.cloud { position: absolute; left: 50%; top: 50%; transform: translate(-340px, -170px); height: 180px; }
.cloud2 { position: absolute; left: 50%; top: 50%; transform: translate(130px, -200px); height: 110px; }
.c1, .c2, .c3, .c4 { position: absolute; left: 50%; top: 50%; height: 30px; }
.c1 { transform: translate(-240px, -60px); }
.c2 { transform: translate(220px, -80px); }
.c3 { transform: translate(-230px, 60px); }
.c4 { transform: translate(200px, 60px); }



/* login */
body.login .popup { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 340px; }
body.login .popup .title { background: #000; font-size: 20px; padding: 10px 0px;font-weight: bold; color: #fff; text-align: center; margin-bottom: 15px; border-radius: 10px; background-image: url('/images/partners/icon_logo_sign_in.svg'); background-repeat: no-repeat; background-size: 25px; background-position: 8px center; }
body.login .popup .loginbox { background-color: #fff; box-shadow: rgba(0,0,0,0.15) 3px 8px; padding: 20px 35px; }
body.login form {  }
body.login form .label {color: #444;font-size: 20px;margin-bottom: 4px;font-weight: 500;}
body.login input { width: 100%; box-sizing: border-box; padding: 10px; font-size: 16px; margin-bottom: 18px; }
body.login input[type=text],
body.login input[type=password] { border: 1px solid #eee; }
body.login input[type=submit] { background: #66dd89; color: #fff; border: 0px solid transparent; font-weight: bold; font-size: 20px; padding: 12px; border-radius: 5px; cursor: pointer; }
body.login input[type=submit]:hover { opacity: 0.8; }
body.login input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px white inset !important; }
body.login form .error { color: #ea3364; font-size: 13px; font-weight: bold; text-align: center; animation-duration: 0.6s; animation-fill-mode: both; animation-name: shake; }
body.login #eye { display: inline-block; float: right; margin-top: 9px; z-index: 5; position: absolute; margin-left: -26px; color: #bbb; cursor: pointer; }
@keyframes shake { from, to { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } 10%, 50%, 90% { -webkit-transform: translate3d(-6px, 0, 0); transform: translate3d(-6px, 0, 0); } 30%, 70% { -webkit-transform: translate3d(6px, 0, 0); transform: translate3d(6px, 0, 0); } }



/* welcome */
.popup_welcome { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 1px solid #bbb; border-radius: 20px; background-color: white; font-size: 60px; font-weight: 400; padding: 18px; padding-right: 40px; color: #555; line-height: 0.65; display: inline-flex; gap: 8px; }
.popup_welcome div { display: inline-flex; flex-direction: column; justify-content: space-between; }
.popup_welcome span { font-size: 26px; font-weight: normal; white-space: nowrap; margin-bottom: 2px; padding-left: 5px; }
.popup_welcome img { height: 70px; }
.welc1, .welc2, .welc3, .welc4, .welc5 { position: absolute; left: 50%; top: 50%; font-size: 12px; padding: 3px 6px; border-radius: 4px; color: white; }
.welc1 { background-color: #FECD28; transform: translate(-210px, -80px); }
.welc2 { background-color: #FF9BCB; transform: translate(50px, -90px); }
.welc3 { background-color: #6C3FFE; transform: translate(-180px, 60px); }
.welc4 { background-color: #1E60F6; transform: translate(-30px, 60px); }
.welc5 { background-color: #FECD28; transform: translate(100px, 80px); }



/* main content */
.cloud3 { position: absolute; left: 50%; top: 80px; transform: translateX(-670px); height: 180px; }
.cloud4 { position: absolute; left: 50%; top: 80px; transform: translateX(490px); height: 110px; }
.content { margin: 80px auto 50px auto; width: 100%; position: relative; padding-bottom: 15px; }
.box { background-color: #fff; border-radius: 10px; border-bottom: 8px solid rgba(0,0,0,0.15); background: linear-gradient(to bottom, #f1a0c9, #ffffff) top / 100% 35px, white; background-repeat: no-repeat; }
.box.box-yellow { background: linear-gradient(to bottom, #f6cf50, #ffffff) top / 100% 35px, white; background-repeat: no-repeat; }
.box.box-teal { background: linear-gradient(to bottom, #c3b1fd, #ffffff) top / 100% 35px, white; background-repeat: no-repeat; }
.box h2 { margin: 0; padding: 0; font-weight: 500; font-size: 20px; padding-left: 30px; line-height: 35px; }
.box .button-add { float: right; border-radius: 10px; background: #6c3ffc; color: white; font-size: 17px; font-weight: 600; padding: 7px 25px; margin: 2px; }

.buttons { margin-top: 50px; text-align: right; }
.button-edit, .button-duplicate, .button-save { display: inline-block; border-radius: 10px; color: white; font-size: 17px; font-weight: 600; padding: 7px 25px; margin: 2px; transition: transform 0.1s, opacity 0.1s; }
.button-edit { background: #1e66f6; }
.button-duplicate { background: #6c3ffc; }
.button-save { background: #00e080; }
.button-edit:hover, .button-duplicate:hover, .button-save:hover { transform: translateY(-3px); opacity: 0.9; }
.box-inner { padding: 20px; }
.padding-form { padding: 20px 40px 10px; }



/* announcement modal */
.ann-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 10000; display: flex; align-items: center; justify-content: center; }
.ann-modal { background: #fff; border-radius: 14px; width: 460px; max-width: calc(100vw - 40px); overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.35); }
.ann-header { background: linear-gradient(45deg, #9aeda5, #d6fade); display: flex; align-items: center; gap: 7px; padding: 4px 5px; margin: 5px; border-radius: 12px; }
.ann-icon { width: 22px; height: 22px; fill: #4fd388; flex-shrink: 0; background: rgba(255, 255, 255, 0.6); padding: 5px; border-radius: 14px; }
.ann-header span { font-family: Barlow, sans-serif; font-weight: 700; font-size: 19px; color: #fff; }
.ann-body { padding: 11px 16px; font-size: 15px; line-height: 1.4; color: #273039; /* max-height: 320px; overflow-y: auto; */ }
.ann-footer { padding: 12px 20px 16px; display: flex; justify-content: flex-end; }
.ann-ok { background: #03e080; color: #fff; border: none; border-radius: 8px; padding: 8px 28px; font-size: 14px; font-weight: 700; font-family: Barlow, sans-serif; cursor: pointer; letter-spacing: 0.03em; border-bottom: 3px solid #65bd8d; }
.ann-ok:hover { background: #00c96e; }

/* announcements admin */
.announcement-toggle { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: bold; }
.announcement-toggle.active { background: #00e080; color: #fff; }
.announcement-toggle.inactive { background: #ddd; color: #888; font-weight: normal; }
.announcement-preview { color: #888; font-size: 13px; max-width: 300px; }
header .sect.announcements { background-color: #c3b1fd; border-color: #7c3aed; }



/* forms */
#formr label {font-weight: 500;float: left;width: 200px;font-family: 'Barlow';font-size: 17px;padding-top: 6px;}
#formr textarea, 
#formr input[type=text], 
#formr input[type=email], 
#formr input[type=password], select {width: 100%;padding: 6px 10px;border: 0px solid #e0e4e5;border-radius: 0;color: #333333;background-color: transparent;border: 1px solid #dddddd;font-family: 'Barlow';font-size: 16px;}
#formr input[type=submit], button {padding: 12px 22px 10px;font-size: 16px;color: #fff;text-transform: uppercase;background: #00e080;border-radius: 0;border: 0;cursor: pointer;/* box-shadow: 1px 1px 0px 0px #B2C2C3; */margin-top: 30px;border-radius: 10px;color: white;font-size: 17px;font-weight: 600;padding: 10px 25px;}
#formr input[type=submit]:hover, button:hover { opacity: 0.8; }
#formr input[readonly] { pointer-events: none; }
#formr input[type="submit"].disabled { filter: grayscale(); pointer-events: none; }
#formr textarea { height: 200px; }
#formr div { margin-bottom: 12px; display: flex; }
#formr.no_button_margin input[type=submit], button { margin-top: 0; }

.download-iteration-list { flex-direction: column; align-items: stretch; gap: 4px; max-height: 240px; overflow-y: auto; padding: 8px 12px; border: 1px solid #ddd; }
#formr .download-option { float: none; width: auto; display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 15px; cursor: pointer; }
#formr .download-option input { margin: 0; }
#formr .download-option span { flex: 1; }
#formr .download-option small { color: #777; font-size: 12px; }
#formr .download-option-all { border-bottom: 1px solid #eee; padding-bottom: 8px; margin-bottom: 2px; }

.formr-error, .formr-success { margin-left: 0!important; margin-right: 0!important; margin-bottom: 40px!important; }
.error_inline:after { font-family:"Font Awesome 5 Free"; content:"\f071"; color: red; font-size: 17px; line-height: 1; margin-left: 8px; margin-top: 5px; position: absolute; }
.flash-redirect { margin: 20px 0 40px; padding: 15px; background: #53A451; color: white; border-radius: 5px; text-align: center; }
.download-notification { justify-content: flex-end; margin-right: 12px; font-size: 14px; margin-top: -4px; opacity: 0; color: #666; }
.size-estimate { margin: 12px 0; font-size: 14px; color: #666; display: block !important; }
.size-estimate.over-limit { color: #a33; }
.size-estimate .size-warning { color: #a33; font-weight: bold; }

.form_errors { display: block!important; margin-top: 30px; }
.form_errors span { color: red; font-weight: bold; }
.form_buttons { justify-content: flex-end; gap: 12px; align-items: baseline; }
.form_buttons button { height: fit-content; transition: opacity 0.1s; }
.form_buttons button.disabled { opacity: 0.2; pointer-events: none; }
.form_buttons button.download { background-color: #1e7af6; }
.form_buttons button.copy-link { background-color: #bf42ad; }
.form_buttons button.duplicate { background-color: #6e3efb; margin-right: 10px; }

.image-field-holder { flex-direction: column; align-items: flex-start; }
.image-field-holder>div { display: inline-block; position: relative; }
.image-field-holder>div i { position: absolute; right: 0; top: 0; color: red; padding: 7px; cursor: pointer; text-shadow: 0px 0px 5px rgba(0,0,0,0.2); }
.image-field-holder>div img { max-width: 150px; max-height: 150px; display: block; margin-bottom: 5px; flex-grow: 0; }

.button-back { float: right; padding: 8px 15px; font-size: 15px; font-weight: 600; }




/* fake file input */
input[type=file].faked { position: absolute; left: -9999px; }
.fake-file-holder { display: inline-flex; flex-direction: column; align-items: center; }
.fake-file-text {display: inline-block;padding: 3px 0;max-width: 180px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;font-size: 13px;}
.file-btn { display: inline-block; color: #fff; font-weight: bold; border: none; cursor: pointer; }



/* tables */
table.tablesorter {width: 100%;margin-bottom: 30px;border-spacing: 0px;}
table.tablesorter td, 
table.tablesorter th {font-family: Barlow, 'Open Sans', Arial, Helvetica;color: #273039;padding: 5px 5px;font-size: 16px;}
table.tablesorter tr.grayed td { color: #999; }
table.tablesorter .ro { font-size: 6px; border: 1px solid #999; line-height: 10px; padding: 0px 2px; transform: translateY(-2px); display: inline-block; color: black; }
table.tablesorter .new { font-size: 6px; border: 1px solid #eb59aa; line-height: 10px; padding: 0px 2px; transform: translateY(-2px); display: inline-block; color: #eb59aa; }
table.tablesorter tr:nth-child(even) {background: #f4f7fa;/* border-top: 3px solid #666; */}
table.tablesorter tr:nth-child(odd) {/* background: #e7eef4; */}
table.tablesorter tr th {/* text-transform: uppercase; */font-weight: 500;font-size: 18px;/* border-bottom: 1px solid #eef2f5; */padding-top: 10px;padding-bottom: 10px;padding-right: 20px;/* background-color: transparent; */}
table.tablesorter tr th:first-child { padding-right: 8px; text-align: center; }
table.tablesorter tr th.w1 { width: 1px };
table.tablesorter tr th a { white-space: nowrap; }
table.tablesorter tr th a:hover { opacity: 0.7; }
table.tablesorter tr.tablesorter-headerRow { background: white; }
table.tablesorter th { padding: 10px 8px; color: #153655; text-align: left; text-transform: uppercase; }
table.tablesorter td {padding: 6px 8px;color: #3d5468;border-top: 1px solid #eee;}
table.tablesorter td .icon.hasquant { margin-top: -9px; margin-right: -9px; }
table.tablesorter td.id { width: 30px; text-align: center; }
table.tablesorter td.edit,
table.tablesorter td.download,
table.tablesorter td.duplicate,
table.tablesorter td.preview,
table.tablesorter td.delete {text-align: center;padding-left: 0;padding-right: 0; width: 35px;}
table.tablesorter td.delete {padding-right: 10px;}
table.tablesorter td a {font-weight: 600;}
table.tablesorter td a:hover { text-decoration: underline !important; }
table.tablesorter tr.duplicated td { font-size: 14px; padding-top: 5px; }
table.tablesorter tr.duplicated td:nth-child(2) { /* padding-left: 16px; */ font-style: italic;  }
table.tablesorter tr.duplicated td:nth-child(2) a { color: #3d5468; }
table.tablesorter td.arrow { padding:0; }
table.tablesorter td.arrow img { height: 50px; margin:-15px; transition: transform 0.1s; }
table.tablesorter td.arrow img:hover { transform: scale(1.15); }
table.tablesorter td.id.duplicate img { height: 12px; vertical-align: text-bottom; }
table.tablesorter td.id.duplicate { font-size: 10px; padding-left: 0; padding-right: 0; }
table.tablesorter tr.duplicate-row > td:not(.bulk-select):not(.id) { font-size: 15px !important; }
table.tablesorter th.bulk-select,
table.tablesorter td.bulk-select { width: 28px; padding-left: 8px; padding-right: 0; text-align: center; }
table.tablesorter tr th .sort-header { color: #000; text-decoration: none; margin-left: 5px; font-size: 14px; transition: opacity 0.2s; }
table.tablesorter tr th .sort-header:hover { opacity: 0.7; }
table.duplicates-detail-table .back-arrow { height: 50px; transform: rotate(180deg); transition: transform 0.2s; margin: -18px; margin-left: 3px; }
table.duplicates-detail-table .back-arrow-link:hover .back-arrow { transform: rotate(180deg) translateX(3px); }
.bulk-download-toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-bottom: 10px; }
.bulk-download-toolbar label { font-size: 14px; color: #3d5468; }
.bulk-download-toolbar button { margin: 0; padding: 8px 16px; background: #1e7af6; font-size: 14px; }
.bulk-download-toolbar button:disabled { opacity: 0.35; cursor: default; }





/* icons */
.tric { width: 26px; height: 26px; display: inline-block; margin: 0; padding: 0; background-size: contain; }
.tric:hover { transform: scale(1.15); }
.tric-download { background-image: url(/images/partners/downl_icon.svg); }
.tric-delete { background-image: url(/images/partners/del_icon.svg); }
.tric-copy { background-image: url(/images/partners/copy_icon.svg); }
.tric-edit { background-image: url(/images/partners/edit_playable_icon.svg); }
.tric-edit-user { background-image: url(/images/partners/edit_icon_1.svg); }
.tric-edit-announcement { background-image: url(/images/partners/edit_announcement_icon.svg); }
.tric-preview { background-image: url(/images/partners/preview_icon.svg); }



/* playable edit */
#tabs { flex: 0 1 800px; min-width: 0; max-width: 800px; font-size: 15px; }
#tabs h1 { display: none; }
#tabs b {font-weight:500;display: inline-block;margin-bottom: 9px;margin-top: 5px;}
#tabs_and_iframe {display: flex;column-gap: 10px;justify-content: space-between;}
#tabs .fake-file-holder { float: right; margin-top: -9px; }
#tabs i.desc { font-size: 11px; padding-left: 5px; }
#params, #texts, #images, #sounds, #videos, #datas {margin-bottom: 20px;/* border: 1px solid #666; */background-color: #fff;padding: 25px 30px;display: none;border-radius: 17px;border-bottom: 5px solid rgba(0,0,0,0.2); overflow: hidden;}
#params { padding: 0; }
#params.active, #texts.active, #images.active, #sounds.active, #videos.active, #datas.active { display: block; }
#params input[type="text"] {width: 40px;border: 1px solid #e7e7e7;border-radius: 10px;padding: 5px;}
#params input[type="text"].normaltext { width: 190px; }
#params select,
#params input[type="range"] { width: 400px; max-width: calc(100% - 95px); }
#params input[type="range"] { -webkit-appearance: none; -moz-appearance: none; height: 12px; background: #e0e0e0; border-radius: 3px; }
#params input[type="range"]::-moz-range-thumb { -moz-appearance: none; appearance: none; width: 25px; height: 25px; border-radius: 50%; background: #1f61f6;  }
#params input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 25px; height: 25px; border-radius: 50%; background: #1f61f6; }
#params input[type='checkbox'] { height: 22px; transform: scale(1.7); }
#images img { max-height: 50px; border: 1px solid transparent; 
    background-image: linear-gradient(45deg, #eee 25%, transparent 25%), linear-gradient(-45deg, #eee 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #eee 75%), linear-gradient(-45deg, transparent 75%, #eee 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0;
}
#images img:hover { border: 1px dashed rgba(0,0,0,0.6); }
#texts input[type=text],
#texts textarea {box-sizing: border-box;width: calc(100% - 55px);padding: 5px 10px;font-size: 16px;border: 1px solid #e7e7e7; font-family: Arial; min-height: 30px; field-sizing: content; }
#texts .text-lang-label { display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: #a6a6a6;
    border-radius: 4px;
    padding: 1px;
    margin-top: 5px;
    letter-spacing: 0.05em;
    vertical-align: top;
    margin-right: 2px;
    width: 17px;
    text-align: center;
}
#texts-add-lang { margin-top: 40px; display: flex; align-items: center; gap: 8px; justify-content: end; }
#texts-add-lang input { width: 80px !important; min-height: unset !important; padding: 7px !important; font-size: 16px !important; }
#texts-add-lang button { background: #9b7fe8; color: #fff; border: none; border-radius: 8px; padding: 11px 14px; font-size: 16px; font-family: Barlow, sans-serif; cursor: pointer; font-weight: 600; }
#texts-add-lang button:hover { background: #7c5cbf; }
#texts-add-lang #texts-ai-translate-btn { background: #2d9e6b; }
#texts-add-lang #texts-ai-translate-btn:hover { background: #227a52; }
#texts-add-lang #texts-ai-translate-btn:disabled { background: #aaa; cursor: wait; }
#datas textarea { height: 200px; width: calc(100% - 55px); border: 1px solid #e7e7e7; font-family: Arial; padding: 10px; }
#datas .jsoneditor_holder { height: 200px; width: calc(100% - 55px); display: inline-block; resize: vertical; overflow: auto; }
#datas .jsoneditor { border: thin solid #e7e7e7; }
#datas .jsoneditor-menu { background-color: #999; border-bottom: 1px solid #999; }
#datas .jsoneditor-sort, #datas .jsoneditor-transform { display: none; }

input[type=file] { float: right; }
audio, video { width: 400px; }
iframe {border: 0px solid black;/*float: right;*/width: 300px;height: 600px;background: white; /*border-bottom: 5px solid rgba(0, 0, 0, 0.2);*/ }
iframe.landscape { width: 600px; height: 300px; }
#iframe_holder div { font-size: 12px; background: white; padding: 5px; border-radius: 10px 10px 0 0; }
#iframe_holder div b.exceeds { color: red; }
#iframe_holder { --preview-short-side: 300px; --preview-long-side: 600px; flex: 1 0 auto; background-color: #f8f8f8; border-radius: 10px; }
#iframe_holder .preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.preview-size { white-space: nowrap; }
.preview-formats { display: inline-flex; gap: 3px; }
#iframe_holder .preview-format { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 24px; height: 24px; margin: 0; padding: 3px; border: 0; border-radius: 5px; background: transparent; color: #64748b; line-height: 1; cursor: pointer; }
#iframe_holder .preview-format svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#iframe_holder .preview-format:hover { background: #f1f4f9; opacity: 1; }
#iframe_holder .preview-format[aria-pressed="true"] { background: #e6eeff; color: #225afa; }
#iframe_holder .preview-format:focus-visible { outline: 2px solid #225afa; outline-offset: 2px; }
#iframe_holder iframe { display: block; margin: 7px auto; position: sticky; top: 5px; width: var(--preview-short-side); height: var(--preview-long-side); }
#iframe_holder iframe.landscape { width: var(--preview-long-side); height: var(--preview-short-side); }
.revert { margin-left: 15px; margin-top: 5px; display: inline-block; vertical-align: top; font-size: 14px; opacity: 0.1; pointer-events: none; transition: opacity 0.1s; }
.revert.active { cursor: pointer; opacity: 1; pointer-events: initial; }
#images .revert, #sounds .revert, #videos .revert { float: right; }

.param_category { margin-bottom: 3px; }
.param_category h3 { font-weight: 400; margin: 0; font-size: 17px; }
.param_category .cat_title {background: linear-gradient(to bottom, #f6cf50, #f6cf50, #ffffff) top / 100% 35px, white;background-repeat: no-repeat;padding: 8px 13px 8px 23px;cursor: pointer;user-select: none;}
.param_category .cat_title img {height: 13px;float: right;margin-top: 5px; transform: scaleY(-1) translateY(4px); transition: transform 0.1s; }
.param_category .cat_entries { padding: 25px; }
.param_category.collapsed h3 { color: #eb9836; font-weight: 500; }
.param_category.collapsed .cat_title { background: #fdf2d4; }
.param_category.collapsed .cat_entries { display: none; }
.param_category.collapsed .cat_title img { transform: scaleY(1); }

#imgpreview { position: fixed; z-index: 2; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); display: none; }
#imgpreview .holder { display: flex; align-items: center; justify-content: center; flex-direction: column; height: 100%; }
#imgpreview .holder span { display: block; font-size: 12px; margin-top: 5px; color: white; }
#imgpreview img { max-width: 96%; border: 1px solid transparent; }
#imgpreview img:hover { border: 1px dashed rgba(255,255,255,0.6); }
#imgpreview .close { position: absolute; right: 10px; top: 10px; font-size: 34px; line-height: 1; color: #fff; cursor: pointer; }
#imgpreview .close:hover { opacity: 0.8; }
    
div#tab-nav { margin-bottom: 10px; user-select: none; display: flex; gap: 7px; }
div#tab-nav > div { display: inline-block; font-size: 17px; background: #fff; padding: 5px 19px; border-radius: 5px; }
div#tab-nav > div:nth-child(7) { margin-left: auto; }
div#tab-nav > div:not(.no_click) { cursor: pointer; }
div#tab-nav > div.no_click { padding-right: 14px; }
div#tab-nav > div.active,
div#tab-nav > div:not(.no_click):hover { background-color: #f6cf50; color: #eb9836; border-radius: 10px; }
div#tab-nav > div i { font-size: 15px; color: blue; padding-left: 2px; }





/* alert box */
.swal2-title { color: black; font-size: 20px; font-weight: 400; }
.swal2-confirm, .swal2-deny, .swal2-cancel { font-weight: bold; }





/* audio player */
.custom_audio_player { display: inline-flex; align-items: center; gap: 8px; background: #f5f5f5; padding: 6px 10px; border-radius: 10px; width: 320px; max-width: 70%; color: #000; font-family: Arial; box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 1px; }
.custom_audio_player button { all: unset; cursor: pointer; width: 30px; height: 30px; background: rgba(0, 0, 0, 0.05); text-align: center; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-sizing: border-box; user-select: none; padding: 4px; }
.custom_audio_player input[type="range"] { flex: 1; appearance: none; height: 4px; border-radius: 2px; background: rgba(0, 0, 0, 0.05); outline: none; }
.custom_audio_player input[type="range"]::-webkit-slider-thumb,
.custom_audio_player input[type="range"]::-moz-range-thumb { appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #0275ff; cursor: pointer; }
.custom_audio_player .time { min-width: 75px; text-align: right; font-size: 12px; }






/* laravel nav */
nav[role="navigation"] { display: flex; align-items: center; justify-content: space-between; width: 100%; }
nav .sm\:hidden { display: flex; justify-content: space-between; flex: 1 1 0%; }
nav .hidden { display: none; }

@media (min-width: 640px) {
  nav .sm\:hidden { display: none; }
}

@media (min-width: 640px) {
  nav .sm\:flex { display: flex; }
  nav .sm\:flex-1 { flex: 1 1 0%; }
  nav .sm\:items-center { align-items: center; }
  nav .sm\:justify-between { justify-content: space-between; }
}

nav .text-sm { font-size: 0.875rem; }
nav .leading-5 { line-height: 1.25rem; }
nav .font-medium { font-weight: 500; }
nav .text-gray-700 { color: #374151; }
nav .text-gray-500 { color: #6b7280; }

nav .inline-flex { display: inline-flex; }
nav .items-center { align-items: center; }
nav .relative { position: relative; }
nav .z-0 { z-index: 0; }
nav .px-4 { padding-left: 1rem; padding-right: 1rem; }
nav .px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
nav .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
nav .ml-3 { margin-left: 0.75rem; }
nav .-ml-px { margin-left: -1px; }
/*.bg-white { background-color: #fff; }*/
nav .border { border: 1px solid #d1d5db; }
nav .border-gray-300 { border-color: #d1d5db; }
nav .rounded-md { border-radius: 0.375rem; }
nav .rounded-l-md { border-top-left-radius: 0.375rem; border-bottom-left-radius: 0.375rem; }
nav .rounded-r-md { border-top-right-radius: 0.375rem; border-bottom-right-radius: 0.375rem; }
nav .shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }

nav .cursor-default { cursor: default; }
nav span[aria-current="page"] { background: #f4f7fa; }
nav a { text-decoration: none; color: inherit; }
nav a:hover { color: #6b7280; background: rgba(0,0,0,0.09); }
nav a:focus { outline: none; box-shadow: 0 0 0 3px rgba(209, 213, 219, 0.5); }
nav .active\:bg-gray-100:active { background-color: #f3f4f6; }
nav svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }



/* tags - list */
td.tags { white-space: normal; }
table.tablesorter td.tags a.tag {
  display: inline-flex;
  align-items: center;
  background: var(--tag-background, #d2e2ff);
  color: var(--tag-color, #2c436d);
  border: 0;
  border-radius: 20px;
  padding: 1px 8px 2px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  margin: 2px 4px 2px 0;
  text-decoration: none !important;
  transition: background 0.15s, box-shadow 0.15s;
}
td.tags a.tag-color-0 { --tag-background: #ffe2bb; --tag-color: #6d512c; --tag-hover: #ffd398; }
td.tags a.tag-color-1 { --tag-background: #d2e2ff; --tag-color: #2c436d; --tag-hover: #bbd3ff; }
td.tags a.tag-color-2 { --tag-background: #a8efc2; --tag-color: #2c6d44; --tag-hover: #8fe6ae; }
td.tags a.tag-color-3 { --tag-background: #b5e5ff; --tag-color: #2c566d; --tag-hover: #96daff; }
td.tags a.tag-color-4 { --tag-background: #c1eee7; --tag-color: #2c6d63; --tag-hover: #a3e3d9; }
td.tags a.tag-color-5 { --tag-background: #ffd0e9; --tag-color: #6d2c4f; --tag-hover: #ffb8dd; }
td.tags a.tag:hover,
td.tags a.tag.active {
  background: var(--tag-hover, #bbd3ff);
  text-decoration: none !important;
}
td.tags a.tag.active { box-shadow: inset 0 0 0 1px currentColor; }
td.tags a.tag:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* tags - input (add/edit forms) */
.tags-input-wrapper { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border: 1px solid #ddd; border-radius: 4px; padding: 6px 8px; background: #fff; cursor: text; }
.tags-input-wrapper .tag-pill { display: inline-flex; align-items: center; background: #ffcc28; color: #333; border-radius: 20px; padding: 2px 9px; font-size: 13px; gap: 4px; }
.tags-input-wrapper .tag-pill .remove { cursor: pointer; font-weight: bold; line-height: 1; }
.tags-input-wrapper #tags-input { border: none; outline: none; flex: 1; min-width: 140px; font-size: 14px; padding: 2px 0; background: transparent; }


/* search bar + topbar layout */
.box-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.box-topbar h2 {
  margin: 0;
  flex-shrink: 0;
}
.search-form {
  flex: 1;
  max-width: 240px;
  margin-left: auto;
}
.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.search-input-wrap input[type="text"] {
  width: 100%;
  padding: 6px 64px 6px 12px;
  border-radius: 20px;
  border: 0px;
  font-size: 13px;
  outline: none;
  background: #fff;
  box-sizing: border-box;
  filter: drop-shadow(0px 2px 0px #ddd);
}
.search-input-wrap input[type="text"]::placeholder {
  color: #ddd;
  font-style: italic;
}
.search-input-wrap input[type="text"]:focus {
  border-color: #ffcc28;
}
.search-clear {
  position: absolute;
  right: 27px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 13px;
  text-decoration: none;
  line-height: 1;
  padding: 2px 4px;
}
.search-clear:hover {
  color: #555;
}
.search-submit {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #888;
  display: flex;
  align-items: center;
}
.search-submit svg {
  width: 16px;
  height: 16px;
}
.search-submit:hover {
  color: #333;
}







/* smaller screens */
@media screen and (min-width: 1px) and (max-width: 820px) {
    header .topline { height: 44px; padding: 6px 10px; }
    header #logo { width: 34px; height: 34px; object-fit: cover; object-position: left; }
    header .sect { font-size: 13px; font-weight: 500; padding: 5px 5px 4px 8px; margin-top: 4px; }
    header .sect.selected, header .sect:hover { padding-bottom: 10px; }
    header .sect_user { height: 38px; }
    header div.hello, header .logout { margin-top: 9px; }
    header img.hello { display: none; }


    .content { max-width: 100%; }
    table.tablesorter tr th { font-size: 16px; max-width: 75px; overflow: hidden; text-overflow: ellipsis; }
    table.tablesorter td, table.tablesorter th { font-size: 14px; }

    div#tab-nav > div { padding: 6px 12px; }
    .param_category .cat_title { padding-left: 17px; }
    .param_category .cat_entries { padding: 18px; }

    #params input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; }
    #params input[type="range"]::-webkit-slider-thumb { width: 20px; height: 20px; }
    #params input[type='checkbox'] { transform: scale(1.2); }

    .cloud4 { display: none; }

    #formr label { font-size: 16px; }
    #formr input[type=submit], button { font-size: 15px; padding: 8px 15px; }

    #tabs_and_iframe { max-width: 100%; }

    div#tab-nav > div { font-size: 15px; }
}


@media screen and (min-width: 1px) and (max-width: 680px) {
    header .hello span { display: none; }
}

/* download spinner */
@keyframes spin { to { transform: rotate(360deg); } }
#download-spinner { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 9999; align-items: center; justify-content: center; }
#download-spinner .spinner-popup { background: #fff; border-radius: 12px; padding: 40px 48px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 8px 32px rgba(0,0,0,0.25); max-width: 360px; width: 90%; text-align: center; }
#download-spinner .spinner-wheel { width: 64px; height: 64px; border: 7px solid #d0e4ff; border-top-color: #0275ff; border-radius: 50%; animation: spin 0.8s linear infinite; flex-shrink: 0; }
#download-spinner p { color: #333; margin-top: 20px; font-size: 15px; }
#download-spinner b { margin-bottom: 8px; display: inline-block; font-size: 20px; }

#dl-progress-wrap { width: 100%; margin-top: 5px; }
#dl-progress-label { font-size: 13px; margin-bottom: 4px; color: #555; }
#dl-progress-track { background: #eee; border-radius: 4px; height: 8px; width: 100%; overflow: hidden; }
#dl-progress-bar { background: #f6d051; height: 8px; width: 0%; border-radius: 4px; transition: width 0.3s ease; }
.blurred { filter: blur(3px); pointer-events: none; user-select: none; }

/* download page network cards */
#formr .download-adx-heading { clear: left; }
#formr .download-adx-fields { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
#formr .download-adx-toggle { align-self: flex-start; float: none; width: auto; display: inline-flex; align-items: center; gap: 8px; padding: 0; font-size: 14px; cursor: pointer; }
#toggle-all-adxs { width: 18px; height: 18px; margin: 0; accent-color: #225afa; }
#formr .download-adx-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
#formr .download-adx-card { position: relative; display: flex; align-items: center; flex: 0 1 220px; gap: 10px; box-sizing: border-box; min-width: 0; max-width: 100%; min-height: 80px; margin: 0; padding: 12px; border-radius: 15px; background: #d2e2ff; color: #17243b; transition: background-color 0.15s, color 0.15s; }
#formr .download-adx-card:not(.selected):hover { background-color: #c5dafc; }
#formr .download-adx-card.selected { color: white; background: linear-gradient(110deg, #2082f6, #225afa); }
#formr .download-adx-checkbox { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; }
#formr .download-adx-choice { position: absolute; inset: 0; z-index: 1; float: none; width: auto; padding: 0; border-radius: inherit; cursor: pointer; }
.download-adx-choice span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#formr .download-adx-checkbox:focus-visible + .download-adx-choice { outline: 3px solid #164cad; outline-offset: 3px; }
.download-adx-icon { display: block; flex: 0 0 48px; width: 48px; height: 48px; }
.download-adx-icon-fallback { display: flex; align-items: center; justify-content: center; border-radius: 11px; background: white; color: #225afa; font-size: 24px; font-weight: 600; }
.download-adx-details { flex: 1; min-width: 0; }
.download-adx-name { display: block; font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
#formr .download-adx-card input.rename-adx { display: block; visibility: hidden; position: relative; z-index: 2; box-sizing: border-box; width: 100%; margin: 5px 0 0; padding: 3px 9px; border: 0; border-radius: 16px; background: white; color: #283d62; font-size: 13px; line-height: 1.4; }
#formr .download-adx-card.selected input.rename-adx { visibility: visible; }
#formr .download-adx-card input.rename-adx::placeholder { color: #9aa0a6; opacity: 1; }
#formr .download-adx-card input.rename-adx:focus-visible { outline: 2px solid #a6c7ff; outline-offset: 2px; }
@media (max-width: 560px) {
    #formr .download-iteration-heading,
    #formr .download-adx-heading { float: none; display: block; width: auto; padding: 0; margin-bottom: 8px; }
    #formr .download-iteration-list { box-sizing: border-box; width: 100%; }
}



/* ── Localization Editor ──────────────────────────────────────────────────── */

.loc-editor-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.loc-editor-page .page-wrap { width: 100%; max-width: 820px; }
.loc-editor-page #mainTextarea { width: 100%; height: 320px; padding: 12px 14px; border: 1px solid #ddd; border-radius: 6px; font-family: 'Fira Code', 'Cascadia Code', monospace; font-size: 12.5px; color: #2a7a50; resize: vertical; line-height: 1.65; background: #fafcfa; }
.loc-editor-page #mainTextarea:focus { outline: none; border-color: #6c3ffc; }
.loc-editor-page .page-actions { display: flex; gap: 8px; margin-top: 14px; }

/* backdrop */
.loc-editor-backdrop { display: none; position: fixed; inset: 0; background: rgba(20,20,40,.5); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); z-index: 500; align-items: center; justify-content: center; }
.loc-editor-backdrop.open { display: flex; }

/* modal shell */
.loc-editor-modal { background: #f0f0f0; border-radius: 12px; width: 860px; max-width: 96vw; height: 78vh; max-height: 680px; display: flex; flex-direction: column; box-shadow: 0 28px 80px rgba(0,0,0,.28); overflow: hidden; }
.loc-editor-modal .le-footer { padding: 12px 20px; display: flex; justify-content: flex-end; gap: 8px; background: #f0f0f0; flex-shrink: 0; border-top: 1px solid #ddd; }
.loc-editor-modal .le-footer button { margin-top: 0; }

/* editor layout */
.loc-editor-modal .le-wrap { display: flex; flex: 1; overflow: hidden; gap: 10px; padding: 10px; }

/* sidebar */
.loc-editor-modal .le-sidebar { width: 136px; background: #fff; border-radius: 10px; border-bottom: 5px solid rgba(0,0,0,0.1); display: flex; flex-direction: column; flex-shrink: 0; overflow: hidden; }
.loc-editor-modal .le-sidebar .le-sidebar-header { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #fff; background: linear-gradient(to bottom, #c3b1fd, #ffffff) top / 100% 26px, white; background-repeat: no-repeat; line-height: 26px; padding: 0 12px; }
.loc-editor-modal .le-lang-list { flex: 1; overflow-y: auto; }
.loc-editor-modal .le-lang-item { padding: 8px 12px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; border-left: 3px solid transparent; transition: background 0.1s; }
.loc-editor-modal .le-lang-item:hover { background: #f4f4fb; }
.loc-editor-modal .le-lang-item.active { background: #eeecfd; border-left-color: #6c3ffc; }
.loc-editor-modal .le-lang-item .le-lang-code { font-weight: 600; font-family: monospace; font-size: 12px; color: #444; }
.loc-editor-modal .le-lang-item.active .le-lang-code { color: #6c3ffc; }
.loc-editor-modal .le-lang-item .le-del-lang { opacity: 0; color: #e05252; font-size: 15px; line-height: 1; background: none; border: none; cursor: pointer; padding: 0 1px; transition: opacity 0.1s; border-radius: 0; font-weight: 400; margin-top: 0; }
.loc-editor-modal .le-lang-item:hover .le-del-lang { opacity: 0.5; }
.loc-editor-modal .le-lang-item .le-del-lang:hover { opacity: 1 !important; background: none; }
.loc-editor-modal .le-add-lang { padding: 8px; border-top: 1px solid #eee; display: flex; flex-direction: column; gap: 4px; }
.loc-editor-modal .le-add-lang-label { font-size: 9px; color: #aaa; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.loc-editor-modal .le-add-lang-row { display: flex; gap: 4px; }
.loc-editor-modal .le-add-lang input { flex: 1; min-width: 0; padding: 4px 6px; background: #f5f5f5; border: 1px solid #ddd; border-radius: 5px; color: #333; font-size: 12px; font-family: Barlow, sans-serif; text-transform: lowercase; }
.loc-editor-modal .le-add-lang input:focus { outline: none; border-color: #6c3ffc; }
.loc-editor-modal .le-add-lang button { padding: 4px 8px; font-size: 14px; border-radius: 5px; background: #6c3ffc; margin-top: 0; }

/* editor panel */
.loc-editor-modal .le-panel { flex: 1; display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 10px; border-bottom: 5px solid rgba(0,0,0,0.1); }
.loc-editor-modal .le-toolbar { padding: 0 16px; display: flex; align-items: center; flex-shrink: 0; height: 35px; background: linear-gradient(to bottom, #c3b1fd, #ffffff) top / 100% 35px, white; background-repeat: no-repeat; }
.loc-editor-modal .le-toolbar .le-lang-title { font-size: 15px; font-weight: 600; flex: 1; color: #fff; }
.loc-editor-modal .le-table-wrap { flex: 1; overflow-y: auto; background: #fff; }
.loc-editor-modal table { width: 100%; border-collapse: collapse; }
.loc-editor-modal thead th { text-align: left; font-size: 12px; font-weight: 500; color: #153655; text-transform: uppercase; padding: 8px 10px; border-bottom: 1px solid #eee; background: white; position: sticky; top: 0; }
.loc-editor-modal tbody tr:nth-child(even) { background: #f4f7fa; }
.loc-editor-modal tbody tr:hover td { background: #eeecfd; }
.loc-editor-modal tbody td { padding: 4px 8px; vertical-align: middle; border-top: 1px solid #eee; }
.loc-editor-modal .le-key-cell { width: 200px; font-family: monospace; font-size: 12px; color: #7c5cbf; padding: 7px 10px !important; }
.loc-editor-modal .le-val-cell input { background: transparent; border: 1px solid transparent; padding: 5px 8px; border-radius: 4px; width: 100%; font-size: 15px; font-family: Barlow, sans-serif; color: #273039; margin-top: 0; }
.loc-editor-modal .le-val-cell input:focus { outline: none; background: #fff; border-color: #6c3ffc; }
.loc-editor-modal .le-action-cell { width: 34px; text-align: center; }
.loc-editor-modal .le-val-locked { padding: 5px 8px; font-size: 15px; color: #888; font-style: italic; white-space: pre-wrap; min-width: 140px; }
.loc-editor-modal table th .le-del-lang { background: none; border: none; color: #ccc; font-size: 14px; cursor: pointer; padding: 1px 4px; border-radius: 4px; margin-left: 4px; transition: color 0.1s; font-weight: 400; }
.loc-editor-modal table th .le-del-lang:hover { color: #e74c3c; }
.loc-editor-modal .le-del-row { background: none; border: none; color: #ccc; font-size: 16px; cursor: pointer; line-height: 1; padding: 3px 5px; border-radius: 4px; transition: color 0.1s, background 0.1s; font-weight: 400; margin-top: 0; }
.loc-editor-modal .le-del-row:hover { color: #e05252; background: #ffeaea; opacity: 1; }
.loc-editor-modal .le-empty { text-align: center; padding: 50px 20px; color: #bbb; font-size: 15px; }
#params-search { border: 1px solid #eee; border-radius: 3px; line-height: 1.3; margin: 5px 20px; padding-left: 6px; padding-right: 6px; font-family: Barlow; width: 200px; }
#params-search::placeholder { opacity: 0.4; }
