﻿html,body {
    width: 100%;
    height: 100%;
    background-color: #f0f9ff; /* 极浅的蓝色背景，如图片所示 */
    font-size: 15px !important;
    margin: 0;
    padding: 0;
}

.jumbotron {
    padding-top: 0;
    background-color: transparent;
    margin-bottom: 0;
}

.header {
    padding: 0.25rem 0.5rem;
    background-color: #ffffff;
    position: fixed;
    z-index: 99;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1); /* 添加蓝色调阴影 */
    display: flex;
    align-items: center;
}

.header .navbar a {
    border: solid 1px #3b82f6; /* 蓝色边框 */
    border-radius: 5px;
    padding: 0.15rem 0.25rem;
    cursor: pointer;
    color: #1e40af; /* 深蓝色文字 */
    background-color: transparent;
    transition: all 0.3s ease;
}

.header .navbar a:hover {
    background-color: #3b82f6; /* 蓝色背景 */
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.header .navbar a:hover i {
    color: #ffffff;
}

.header .navbar i {
    color: #3b82f6; /* 蓝色图标 */
}

.content {
    padding: 2rem 0;
    background-color: #ffffff;
    margin-top: 1.5rem;
    border-radius: 12px; /* 添加圆角 */
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08); /* 蓝色调阴影 */
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.content .title {
    position: relative;
    font-weight: bold;
    z-index: 1;
    color: #1e40af; /* 深蓝色标题 */
    font-size: 2rem;
    margin-bottom: 1rem;
}

.content .title::after {
    content: "REGISTER";
    position: absolute;
    width: 100%;
    top: 10px;
    left: 0;
    text-align: center;
    z-index: -1;
    color: #dbeafe; /* 浅蓝色装饰文字 */
    font-weight: lighter;
    font-size: 2.5rem;
    opacity: 0.8;
}

/* 输入框样式优化 */
.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: #9ca3af; /* 浅灰色占位符 */
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* 错误和成功提示样式 */
.tip.error {
    color: #dc2626;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 8px;
}

.tip.success {
    color: #059669;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 8px;
}

.error {
    color: #dc2626;
    font-size: 14px;
    margin-top: 4px;
}

/* 表单组样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group.has-error .form-control {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.layui-layer-btn0 {
    background-color: #3b82f6;
}