@import url("../../css/bootstrap.css");
@import url("../../css/fastadmin.css");
@import url("../../css/skins/skin-black-blue.css");
@import url("../../css/iconfont.css");
@import url("../../libs/font-awesome/css/font-awesome.min.css");
@import url("../../libs/toastr/build/toastr.min.css");
@import url("../../libs/fastadmin-layer/dist/theme/default/layer.css");
@import url("../../libs/bootstrap-table/dist/bootstrap-table.min.css");
@import url("../../libs/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css");
@import url("../../libs/bootstrap-daterangepicker/daterangepicker.css");
@import url("../../libs/nice-validator/dist/jquery.validator.css");
@import url("../../libs/bootstrap-select/dist/css/bootstrap-select.min.css");
@import url("../../libs/fastadmin-selectpage/selectpage.css");
@import url("../../libs/bootstrap-slider/dist/css/bootstrap-slider.css");
* {
    box-sizing: border-box;
}
.navbar{display:none}
.footer {display:none}
body { font-family: Arial, sans-serif; margin: 0; padding: 0;  background-color: #f5f5f5; }

.container { max-width: 100%;padding: 10px; margin: 0 auto; }

.user-section {
    background: white;border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); overflow: hidden;
}

.logon-tab {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.logon-tab a {
    flex: 1;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    color: #6c757d;
    font-weight: 500;
}

.logon-tab a.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

.login-main {
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.control-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.image-preview-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    margin-top: 8px;
}

.image-preview {
    width: 100%;
    height: 180px;
    border: 2px dashed #ccc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.native-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
    z-index: 10;
}

.help-block {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 0;
}

.btn {
    display: inline-block;
    padding: 7px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    text-decoration: none;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-lg {
    padding: 12px 20px;
    font-size: 16px;
}

.checkbox {
//         display: flex;
    align-items: center;
}

.checkbox input {
    margin-right: 8px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding: 0 5px;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 5px;
}





@media (max-width: 768px) {
    .container {
        padding: 5px;
    }

    .login-main {
        padding: 15px;
    }

    .row {
        flex-direction: column;
    }

    .col-md-8,
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 10px;
    }

    .image-preview {
        height: 150px;
    }
}

.identification-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 123, 255, 0.8);
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 12px;
    z-index: 5;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 5px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.verification-result {
    margin-top: 5px;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 3px;
}

.success {
    background-color: #d4edda;
    color: #155724;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}


/* 签名 */
.signature-pad {
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    /* 确保Canvas不会被拉伸变形 */
    display: block;
    box-sizing: border-box;
    overflow: hidden;
}

.signature-container {
    position: relative;
    margin: 20px 0;
}

.signature-controls {
    margin-top: 15px;
}

.signature-preview {
    max-width: 100%;
    height: auto;
    display: none;
    margin-top: 15px;
    border: 1px solid #ddd;
    padding: 10px;
}
