@charset "UTF-8";
body {
    color: #969b9d;
    size: 14px;
    font-family: 'NotoSansHans-Regular,AvenirNext-Regular,proxima-nova,"Hiragino Sans GB","Microsoft YaHei","WenQuanYi Micro Hei","Open Sans","Helvetica Neue",Arial,sans-serif';
}

#header {
    background-color: #52ABF8;
    height: 150px;
    width: auto;
}

#footer {
    height: 30px;
    line-height: 30px;
    position: fixed;
    bottom: 10px;
    width: 100%;
    text-align: center;
    color: #999;
    font-family: Arial;
    font-size: 12px;
    letter-spacing: 1px;
}

#appicon-bg {
    box-shadow: 0 10px 29px rgba(0, 0, 0, .06);
    ;
    -webkit-transition: box-shadow 0.2s ease-in-out;
    -moz-transition: box-shadow 0.2s ease-in-out;
    -o-transition: box-shadow 0.2s ease-in-out;
    transition: box-shadow 0.2s ease-in-out;
    width: 150px;
    height: 150px;
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    border-radius: 24px;
    border: none;
    background-color: #ffffff;
    padding: 15px;
    margin: auto;
    margin-top: -110px;
    margin-bottom: 30px;
}

/* 输入框 */
input,
input[type="text"]{
    height:29px;
    width:44%;
    font-size: 11px;
    border-top: 1px; 
    border-radius: 10px;
    padding: 0 18px;
    border:1px solid #52ABF8;
    margin-bottom: 0px;
}

/* logo */
.appicon {
    border: none;
    border-radius: 24px;
}

/* 按钮 */
.btn {
    margin-top: 0px;
    background: #52ABF8;
    width: 150px;
    padding: 10px;
    color: white;
    /* font-weight: normal; */
    border-radius: 12px;
    border-color: #52ABF8 !important;
    font-size: 15px;
    text-shadow: none;
}
.btn:hover {
    background: #0a80e7;
    color: white;
}

.btn-s {
    display:inline-block;
    height: 25px;
    line-height: 25px;
    background: #5bccde;
    width: 65px;
    /* padding: 6px; */
    color: white;
    /* font-weight: normal; */
    border-radius: 5px;
    border-color: #5bccde;
    font-size: 10px;
    text-shadow: none;
}
.btn-s:hover {
    background: #52ABF8;
    color: white;
}


/* 主体 */
.container {
    padding-left: 30px;
    padding-right: 30px;
    text-align: center;
    padding-bottom: 50px;
    width: 750px;
}

/* 导航 */
.nav-pills {
    margin-bottom: 0px;
    background-color: #52ABF8;
}

.nav-pills>li>a {
    color: white;
}

.nav-pills>li.active>a {
    color: red;
    background-color: #52ABF8;
}

.nav-pills>li.active>a:hover {
    color: red;
    background-color: #52ABF8;
}

.nav-pills>li>a:hover {
    color: #52ABF8;
    background-color: white;
}

/* label */
.label-info {
    background-color: #5bc0de;
    padding: 3px 7px;
}

.label {
    font-weight: normal;
    text-shadow: none;
}

.col {
    width: 50%;
    float: left;
}

.description {
    color: #666666;
    text-align: left;
}

.upload-img-init {
    height: 120px;
    /* min-height: 150px; */
    border: 1px dashed #DDD;
    border-radius: 6px;
    color: #DDD;
    cursor: pointer;
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative
}

.file-name {
    color: #333;
}

.upload-img-init .file-name {
    word-break: break-word
}

.pcshow {
    display: block;
}

.tablecenter {
    table-layout:fixed; 
    word-break:break-all;
    float: none;
    margin-left: auto;
    margin-right: auto;
    vertical-align: middle;
    /* width: 500px; */
}

.table td {
    text-align: center;
}

.table>tbody>tr>td {
    vertical-align: middle;
}


@media (max-width: 768px) {
    .pcshow {
        display: none;
    }
    .container {
        width: auto;
        padding-bottom: 10px;
    }
}

/* iPhone8P 手机大小 */
@media(max-width: 414px) {
    #header {
        height: 100px;
    }
    #appicon-bg {
        box-shadow: 0 10px 29px rgba(0, 0, 0, .06);
        ;
        -webkit-transition: box-shadow 0.2s ease-in-out;
        -moz-transition: box-shadow 0.2s ease-in-out;
        -o-transition: box-shadow 0.2s ease-in-out;
        transition: box-shadow 0.2s ease-in-out;
        width: 100px;
        height: 100px;
        -webkit-border-radius: 24px;
        -moz-border-radius: 24px;
        border-radius: 24px;
        border: none;
        background-color: #ffffff;
        padding: 12px;
        margin: auto;
        margin-top: -70px;
        margin-bottom: 30px;
    }
}

@media(max-width: 375px) {
    .tabfont {
        font-size: 12px;
    }
}



/* ---- OpenESign ---- */
#footer { position: static; margin: 30px 0 20px; height: auto; }
.container { max-width: 720px; }
.description { line-height: 1.6; }
.platform-table th, .platform-table td { text-align: center; vertical-align: middle; }
.platform-table td:last-child { text-align: left; font-size: 12px; }
.platform-table td:first-child { white-space: nowrap; font-weight: bold; color: #555; }
.downloads { margin-top: 24px; }
.dl-row { margin-top: 16px; }
.dl-row .btn { width: 190px; }
.dl-meta { font-size: 12px; color: #999; margin-top: 6px; }
.notes { font-size: 12px; color: #999; margin: 18px auto 0; max-width: 520px; line-height: 1.6; text-align: center; }
.notes code { font-size: 11px; color: #666; word-break: break-all; }
.sign-intro { font-size: 12px; color: #888; }
.btn-secondary { background: #fff; color: #52ABF8; border: 1px solid #52ABF8; }
.btn-secondary:hover { background: #eef6fe; color: #0a80e7; }
.releases h4 { color: #333; margin-top: 10px; }
.releases .history-title { margin-top: 30px; }
.release-ver { font-weight: bold; color: #555; margin-top: 12px; }
.release-body { padding: 6px 10px; text-align: left; display: inline-block; }
.spinner { width: 28px; height: 28px; margin: 0 auto 12px; border: 3px solid #d6e9fb; border-top-color: #52ABF8; border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 480px) { input, input[type="text"], input[type="password"] { width: 70%; } .platform-table td:last-child { font-size: 11px; } }
input[type="password"] { height: 29px; width: 44%; font-size: 11px; border-radius: 10px; padding: 0 18px; border: 1px solid #52ABF8; margin-bottom: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif; }
.platform-table td, .platform-table th { word-break: normal; overflow-wrap: break-word; white-space: normal; }
.platform-table th:nth-child(1) { width: 28%; } .platform-table th:nth-child(2) { width: 18%; }
.platform-table td:nth-child(2) { white-space: nowrap; }
.platform-table td:first-child { white-space: normal; }

/* right-to-left (Arabic) */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .nav-pills > li { float: right; }
[dir="rtl"] .nav-pills > li:first-child { margin-left: 0 !important; margin-right: 20px; }
[dir="rtl"] .dropdown-menu { left: auto; right: 0; text-align: right; }
[dir="rtl"] .release-body { text-align: right; }
[dir="rtl"] code { direction: ltr; unicode-bidi: embed; }
[dir="rtl"] .description, [dir="rtl"] .platform-table, [dir="rtl"] caption, [dir="rtl"] #appinfo, [dir="rtl"] #footer { text-align: center; }
.nav .dropdown-menu { max-height: 70vh; overflow-y: auto; }

/* archive lines under each release */
.arc { font-size: 12px; color: #888; padding: 0 10px 2px 20px; line-height: 1.5; }
.arc code { font-size: 11px; color: #666; background: none; border: 0; padding: 0; }
.release-none { color: #999; font-style: italic; }
.release-sources { text-align: left; max-width: 640px; margin: 6px 0 10px; }
[dir="rtl"] .arc { padding: 0 20px 2px 10px; }
[dir="rtl"] .release-sources { text-align: right; }
[dir="rtl"] .arc code { direction: ltr; unicode-bidi: embed; }

/* archive downloads */
.release-date { font-weight: normal; color: #999; font-size: 12px; margin-left: 6px; }
[dir="rtl"] .release-date { margin-left: 0; margin-right: 6px; }
.arc-dl { color: #52ABF8; }
.arc-dl:hover { color: #2f8fe0; text-decoration: none; }
.arc-tag { display: inline-block; font-size: 11px; line-height: 1.4; padding: 0 6px; border-radius: 8px; margin: 0 4px; }
.arc-tag.enc { background: #fff4e0; color: #a86a00; }
.arc-tag.mod { background: #fde8e6; color: #c0392b; font-weight: bold; }
.arc-tag.inst { background: #eef3fb; color: #4a6b96; }
.mod-modal { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.mod-modal[hidden] { display: none; }
.mod-box { background: #fff; border-radius: 14px; max-width: 520px; width: 100%; padding: 28px 24px 22px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.mod-icon { font-size: 44px; color: #e67e22; line-height: 1; }
.mod-box h3 { color: #c0392b; margin: 12px 0 10px; font-size: 22px; line-height: 1.3; }
.mod-box p { font-size: 15px; line-height: 1.6; color: #444; margin: 0 0 20px; }
.mod-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.mod-actions .btn { min-width: 150px; margin: 0; }
.mod-go { background: #c0392b !important; border-color: #c0392b !important; color: #fff !important; }

/* UDID grabber */
.udid-page .udid-step-title { color: #333; margin: 26px 0 12px; font-size: 16px; }
.device-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; max-width: 640px; margin: 0 auto; }
.device-card { position: relative; border: 1px solid #e3e8ec; background: #fff; border-radius: 14px; padding: 14px 6px 12px; color: #555; font-size: 13px; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.device-card i { font-size: 26px; color: #52ABF8; }
.device-card:hover { border-color: #52ABF8; }
.device-card.active { border-color: #52ABF8; background: #eef6ff; box-shadow: 0 6px 18px rgba(82,171,248,.18); }
.detected-badge { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: #2ecc71; color: #fff; font-style: normal; font-size: 10px; padding: 0 7px; border-radius: 8px; white-space: nowrap; line-height: 17px; }
.udid-panel { max-width: 560px; margin: 22px auto 0; text-align: left; }
.udid-panel h5 { color: #333; margin: 18px 0 4px; }
.udid-steps { color: #555; line-height: 1.7; margin: 14px 0 8px 22px; padding: 0; }
.udid-steps b { color: #333; }
.btn.btn-big { display: block; width: auto; max-width: 320px; margin: 0 auto 6px; font-size: 16px; padding: 12px; }
.udid-or { text-align: center; color: #aaa; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; margin: 12px 0; }
.udid-sub { color: #555; margin: 4px 0 6px; }
.code-row { display: flex; gap: 8px; align-items: center; }
.code-row code { flex: 1; font-size: 11px; padding: 8px; background: #f6f8fa; border: 1px solid #e3e8ec; border-radius: 8px; color: #333; word-break: break-all; white-space: normal; }
.code-row .btn-s { width: auto; padding: 0 10px; flex: none; }
.udid-result { max-width: 560px; margin: 20px auto 0; border: 1px solid #cfe5fb; background: #f3f9ff; border-radius: 14px; padding: 16px; text-align: center; }
.udid-result .btn { width: auto; min-width: 140px; margin-top: 10px; }
.udid-result-label { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #7a9bbd; }
.udid-value { font-family: SFMono-Regular, Menlo, Consolas, monospace; font-size: 17px; color: #222; word-break: break-all; margin: 6px 0 2px; }
.udid-meta { color: #888; font-size: 12px; }
.udid-error { border-color: #f5c6c1; background: #fdecea; color: #b03a2e; }
.tv-code-box { text-align: center; border: 1px solid #e3e8ec; border-radius: 14px; padding: 18px 14px; }
.tv-code { font-family: SFMono-Regular, Menlo, Consolas, monospace; font-size: 38px; letter-spacing: 8px; color: #222; margin: 4px 0 12px; }
.tv-url { font-family: SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; color: #0a80e7; word-break: break-all; margin-bottom: 4px; }
.tv-wait { display: flex; align-items: center; justify-content: center; gap: 8px; color: #2f6ea8; background: #eef6ff; border-radius: 10px; padding: 9px 12px; margin: 12px 0; font-size: 13px; }
.tv-code-box .btn-secondary { width: auto; margin-top: 10px; }
.spin-s { width: 16px; height: 16px; border: 3px solid #dcecfd; border-top-color: #52ABF8; border-radius: 50%; display: inline-block; animation: udidspin .9s linear infinite; flex: none; }
@keyframes udidspin { to { transform: rotate(360deg); } }
.drop-zone { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 2px dashed #b9d9f8; border-radius: 14px; padding: 22px 14px; color: #52ABF8; cursor: pointer; text-align: center; margin: 12px 0 4px; font-weight: normal; }
.drop-zone i { font-size: 30px; }
.drop-zone:hover { background: #f3f9ff; }
.format-box { margin-top: 16px; font-size: 12px; color: #666; line-height: 2; }
.format-box code { font-size: 11px; background: none; border: 0; color: #333; }
.format-box .ok { color: #2ecc71; } .format-box .bad { color: #e74c3c; }
@media (max-width: 600px) {
    .device-grid { grid-template-columns: repeat(3, 1fr); }
    .tv-code { font-size: 30px; letter-spacing: 5px; }
}
[dir="rtl"] .udid-panel { text-align: right; }
[dir="rtl"] .udid-steps { margin: 14px 22px 8px 0; }
.code-row code { text-align: left; direction: ltr; unicode-bidi: isolate; }
