/* ============================================================
   云黑管理系统 · 提交/客服页样式（重设计版）
   用于 insert.php / customer.php
   ============================================================ */
.input-group {
    width: 94%;
    max-width: 480px;
    margin: 12px auto 90px;
    padding: 18px 0;
    border-radius: 18px;
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, .05);
    box-shadow: 0 10px 30px -16px rgba(15, 23, 42, .20);
    padding-bottom: 26px;
}

.input-group .title {
    padding: 0 16px;
    margin-bottom: 16px;
    margin-left: 0;
    border-left: 4px solid #10b981;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 1px;
}

.input-group .input-tiem {
    padding: 6px 16px;
    margin-bottom: 6px;
}

.input-group .input-tiem label {
    display: block;
    padding-bottom: 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
}

.input-group .input-tiem label font {
    margin-right: 2px;
}

.input-group .input-tiem input {
    width: 100%;
    height: 42px;
    border: 1.5px solid #e2e8f0;
    background-color: #f8fafc;
    border-radius: 10px;
    text-indent: 12px;
    font-size: 14px;
    color: #0f172a;
    caret-color: #10b981;
    transition: all .2s ease;
}

.input-group .input-tiem input:hover {
    border-color: #6ee7b7;
}

.input-group .input-tiem input:focus {
    border-color: #10b981;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .10);
}

.input-group .input-tiem textarea {
    width: 100%;
    height: 110px;
    border: 1.5px solid #e2e8f0;
    background-color: #f8fafc;
    border-radius: 10px;
    text-indent: 12px;
    padding: 10px 12px;
    color: #0f172a;
    font-size: 14px;
    caret-color: #10b981;
    transition: all .2s ease;
    resize: vertical;
}

.input-group .input-tiem textarea:focus {
    border-color: #10b981;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .10);
}

.input-group .input-tiem select {
    width: 100%;
    height: 42px;
    border: 1.5px solid #e2e8f0;
    background-color: #f8fafc;
    border-radius: 10px;
    text-indent: 10px;
    color: #0f172a;
    font-size: 14px;
    transition: all .2s ease;
}

.input-group .input-tiem select:focus {
    border-color: #10b981;
}

.input-group .input-tiem button {
    width: 100%;
    height: 44px;
    background: linear-gradient(135deg, #059669, #10b981);
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 4px;
    margin: 16px 0 0;
    cursor: pointer;
    box-shadow: 0 10px 24px -10px rgba(5, 150, 105, .6);
    transition: all .2s ease;
}

.input-group .input-tiem button:active {
    transform: scale(.97);
}

/* ---------- 多账号输入组 ---------- */
.input-groups {
    width: 100%;
    margin: 0 auto;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f8fafc;
}

.input-nav {
    display: flex;
    width: 100%;
    height: 42px;
    margin: 0 auto;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}

.input-groups .input-nav:last-child {
    border-bottom: 0;
}

.input-nav label {
    width: 72px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    border-right: 1px solid #e2e8f0;
    background-color: #f1f5f9;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}

.input-groups .input-nav input {
    width: 100%;
    border: 0;
    border-radius: 0;
    text-indent: 10px;
    color: #0f172a;
    background-color: transparent;
    height: 42px;
    box-shadow: none;
}

/* ---------- 图片上传区 ---------- */
/* 上传容器：flex 布局防止浮动溢出容器 */
.input-group .input-tiem div[style*="box-shadow"] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px !important;
    border: 1.5px dashed #e2e8f0 !important;
    border-radius: 12px !important;
    background-color: #f8fafc !important;
    overflow: hidden;
}

/* 清除子元素浮动间距，防止超出容器 */
.input-group .input-tiem div[style*="box-shadow"] > div {
    margin: 0 !important;
}

/* 已选图片列表：flex 自动换行 */
.input-group .input-tiem div[style*="box-shadow"] #imgList {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.input-group .input-tiem div[style*="box-shadow"] #imgList > div {
    margin: 0 !important;
}

/* 上传 "+" 按钮 */
.input-tiem div[onclick="onclickFile()"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 80px !important;
    height: 80px !important;
    border: 1.5px dashed #cbd5e1 !important;
    border-radius: 12px !important;
    background-color: #f8fafc !important;
    color: #10b981 !important;
    font-size: 32px !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transition: all .2s ease;
}

.input-tiem div[onclick="onclickFile()"]:active {
    background-color: #ecfdf5 !important;
    transform: scale(.95);
}

.custom-file-input {
    background-color: #fff;
    border: 1.5px dashed #cbd5e1;
    padding: 10px 0;
    cursor: pointer;
    border-radius: 10px;
}

/* ---------- 验证码 ---------- */
.vcode-box {
    display: flex;
    padding: 8px 16px;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.vcode-box input {
    width: 62%;
    height: 42px;
    border: 1.5px solid #e2e8f0;
    background-color: #f8fafc;
    border-radius: 10px;
    text-indent: 12px;
    font-size: 14px;
    color: #0f172a;
    caret-color: #10b981;
    transition: all .2s ease;
}

.vcode-box input:focus {
    border-color: #10b981;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .10);
}

.vcode-box img {
    width: 34%;
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

/* ---------- 客服区 ---------- */
.kefu-box {
    width: 94%;
    padding: 0 0 20px;
    margin: 12px auto;
}

.kefu-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px;
    padding: 14px;
    background-color: #ffffff;
    margin-bottom: 12px;
    border: 1px solid rgba(15, 23, 42, .05);
    box-shadow: 0 8px 24px -16px rgba(15, 23, 42, .20);
    transition: all .2s ease;
}

.kefu-group:active {
    transform: scale(.98);
}

.kefu-group .kefu-img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    margin-right: 12px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.kefu-group .kefu-text {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    padding-left: 12px;
    border-left: 3px solid #10b981;
    gap: 4px;
}

.kefu-group .kefu-text h4 {
    font-size: 15px;
    color: #0f172a;
    font-weight: 600;
}

.kefu-group .kefu-text p {
    color: #475569;
    font-size: 13px;
}

.kefu-group .kefu-text p i {
    color: #059669;
    font-style: normal;
    font-weight: 600;
}

.kefu-group span {
    width: 12%;
    text-align: center;
    font-weight: 600;
    font-size: 26px;
    color: #10b981;
    flex-shrink: 0;
}
