@charset "utf-8";
/********************************
 * @autor:  haoqing           
 * @time :  2011-03
 * @link :  jikeytang@gmail.com
 * @info :  admin-css
 *******************************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font: 14px/1.5 '微软雅黑', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

a {
    color: #00007F;
    text-decoration: none;
}

a:hover {
    color: #bd0a01;
    text-decoration: underline;
}

.admin_login_wrap {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 
                0 0 0 1px rgba(255, 255, 255, 0.5),
                inset 0 0 20px rgba(0, 123, 255, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.2);
    backdrop-filter: blur(10px);
}

.login-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.login-title {
    font-family: '微软雅黑';
    font-weight: 600;
    font-size: 24px;
    text-align: center;
    padding: 30px 0;
    background: #f8f9fa;
    margin: 0;
    color: #333;
}

.login-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}
label{
    margin-bottom: 15px;
}
/* 简单的图标样式 */
.icon-user:before {
    content: "👤";
}

.icon-lock:before {
    content: "🔒";
}

.admin_input_style {
    width: 100%;
    border: 1px solid rgba(0, 123, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 15px 12px 45px;
    height: 45px;
    line-height: 45px;
    font-family: Arial;
    color: #333;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.1);
}

.admin_input_style:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #f8f9ff;
    outline: none;
}

.remember-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-input:checked + .checkbox-custom {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-input:checked + .checkbox-custom:after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.btn {
    display: inline-block;
    padding: 12px 12px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: middle;
    cursor: pointer;
    background-color: #f5f5f5;
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #bbbbbb;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}
li{
    list-style: none;
    padding-left: 0;
    margin: 24px 0;
}
.btn:hover, .btn:active, .btn.active, .btn.disabled, .btn[disabled] {
    color: #333;
    background-color: #e6e6e6;
}

.btn:active, .btn.active {
    background-color: #cccccc;
}

.btn:focus {
    outline: thin dotted #333;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.btn.active, .btn:active {
    background-image: none;
    outline: 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    width: 100%;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    background-repeat: repeat-x;
    border: 1px solid rgba(0, 123, 255, 0.5);
    height: 45px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
    color: #ffffff;
    background-color: #5a6fd8;
    border-color: #5a6fd8;
}

.btn-primary:active, .btn-primary.active {
    background-color: #4d5fc5;
}

.login-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.copyright {
    color: #6c757d;
    text-align: center;
    font-size: 13px;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .admin_login_wrap {
        padding: 10px;
    }
    
    .login-form {
        padding: 20px;
    }
    
    .login-title {
        padding: 20px 0;
        font-size: 20px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-container {
    animation: fadeIn 0.6s ease-out;
}

.form-group {
    animation: fadeIn 0.6s ease-out;
}

.form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.form-group:nth-child(3) {
    animation-delay: 0.3s;
}

.form-group:nth-child(4) {
    animation-delay: 0.4s;
}
