*, *:before, *:after {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.admin .title {
    padding-top: 20px;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
}
.admin .layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}
.admin .layout .box {
    width: 32%;
    min-height: 80vh;
    padding: 20px;
    background: #f1f1f1;
    overflow: hidden;
    margin: 0 auto;
}
.admin .box .hd {
    margin: 10px 0;
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
}
.admin .box .link {
    color: #f00;
}
.admin .box input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.admin .box .btn {
    text-align: center;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    padding: 10px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.admin .box .btn:hover {
    background-color: #0056b3;
}
.admin .msg {
    margin-top: 10px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
}
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: table;
    table-layout: fixed;
    width: 100vw;
    height: 100vh;
    text-align: center;
    background: rgba(0,0,0,.2);
}
.loadLayout {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}
.loadMain {
    width: 3.5em;
    height: 3.5em;
    margin: 0 auto;
}
.loadBox {
    display: flex;
    width: 3.5em;
    height: 3.5em;
    border: 3px solid transparent;
    border-top-color: #007bff;
    border-bottom-color: #007bff;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}
.loadBox:before {
    content: '';
    display: block;
    margin: auto;
    width: 0.75em;
    height: 0.75em;
    border: 3px solid #007bff;
    border-radius: 50%;
    animation: pulse 1s alternate ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    from {
        transform: scale(0.5);
    }
    to {
        transform: scale(1);
    }
}

@media screen and ( max-width: 640px) {
    .admin .layout {
        flex-wrap: wrap;
    }
    .admin .layout .box {
        width: 100%;
        min-height: auto;
        margin-bottom: 20px;
    }
}

body.web {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
}
body.web:before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: -1;
}
.web .layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.web .layout .header {
    height: 70px;
    line-height: 70px;
    text-align: center;
    font-size: 1.5em;
    color: #ff8c00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    letter-spacing: 1px;
}
.web .layout .footer {
    height: 70px;
    line-height: 70px;
    text-align: center;
    font-size: .9em;
    background-color: #fff;
}
.web .layout .main {
    height: calc(100vh - 140px);
}
.web .layout .main .wrap {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 100%;
    text-align: center;
}
.web .layout .main .box {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}
.web .layout .main .box .icon {
    font-size: 2em;
    display: block;
}
.web .layout .main .box .tips {
    font-size: 1.5em;
    margin: 30px 20px;
}
.web .layout .main .box .btns {
    display: flex;
    align-items: center;
    justify-content: center;
}
.web .layout .main .box .btn {
    background-color: #4a90e2;
    color: #fff;
    padding: 8px 20px; /* 缩小按钮 */
    border: 2px solid #5faeff;
    border-radius: 4px;
    font-size: 0.9em; /* 缩小字体 */
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 4px 8px rgba(95, 174, 255, 0.6);
    margin-right: 10px;
}

.web .layout .main .box .btn:hover {
    background-color: #357ABD;
    border-color: #87cefa;
    box-shadow: 0px 6px 12px rgba(135, 206, 250, 0.8);
}