html {
    font-size: 10px;
}

@media (min-width: 768px) {
    html {
        font-size: 10px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 80%;
}

body {
    padding: 0;
    margin: 0;
}

.cascading-right {
    margin-right: -50px;
}

@media (max-width: 991.98px) {
    .cascading-right {
    margin-right: 0;
    }
}

/* 表单样式优化 */
.form-outline {
    position: relative;
}

.form-outline .form-label {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
    pointer-events: none;
}

form-outline .form-control:focus ~ .form-label,
.form-outline .form-control:not(:placeholder-shown) ~ .form-label {
    top: 0;
    font-size: 0.8rem;
    color: #258cfb;
}

/* 图片样式优化 */
.rounded-4 {
    border-radius: 1rem;
}

.shadow-4 {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 表单样式优化 */
.form-outline {
    position: relative; /* 相对定位 */
}

.form-outline .form-label {
    position: absolute; /* 绝对定位 */
    top: 10px; /* 初始位置在输入框的顶部 */
    left: 10px; /* 初始位置在输入框的左侧 */
    transition: all 0.3s ease-in-out; /* 添加过渡效果 */
    pointer-events: none; /* 防止 label 干扰输入 */
    color: #6c757d; /* 默认颜色 */
}

.form-outline .form-control {
    padding: 1.5rem 1rem 0.5rem 1rem; /* 调整输入框的 padding */
    width: 100%; /* 确保输入框宽度 */
}

/* 当 input 获取焦点或已经有内容时，label 浮动到输入框上方 */
.form-outline .form-control:focus ~ .form-label,
.form-outline .form-control:not(:placeholder-shown) ~ .form-label {
       top: 0; /* 移动到输入框的顶部 */
       font-size: 0.8rem; /* 缩小字体大小 */
       color: #007bff; /* 焦点时颜色 */
}
