/* 悬浮按钮 start */
.float-tools {
    position: fixed;
    right: 5px;
    bottom: 50px;
    z-index: 999;
    background-color: #F3260F;
    border-radius: 50px;
}

.tools-container {
    text-align: center;
    position: relative;
}

.tools-btn {
    padding: 35% 5%;
    width: 60px;
    height: 100%;
    color: white;
    border-bottom: 1px solid white;
    justify-items: center;
}

.tools-btn img {
    max-width: 40%;
    display: inline;
}

.tools-btn:hover {
    cursor: pointer;
}

.tools-btn:last-child {
    border-bottom: none;
}

.tools-btn a {
    color: white;
    padding: 25%;
}

/* 悬浮按钮 end */


/* 留言框 start */
.dark-theme {
    background-color: #1a1a1a;
    color: #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.form-title {
    color: #ff4444;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #ff4444;
    padding-left: 0.75rem;
}

/* 输入框组样式 */
.form-group-custom {
    margin-bottom: 1.75rem;
}

.form-label-custom {
    color: #e0e0e0;
    font-weight: 400;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-control-custom {
    background-color: #2d2d2d;
    border: 1px solid #444444;
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    border-color: #ff4444;
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.15);
    outline: none;
}

/* 关闭按钮 */

.btn-close-custom {
    border: none;
}

/* 提交按钮样式 */
.btn-submit-custom {
    background-color: #ff4444;
    border-color: #ff4444;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-submit-custom:hover {
    background-color: #e63939;
    /* 悬停加深 */
    border-color: #e63939;
}

.btn-submit-custom:disabled {
    background-color: #666666;
    /* 禁用时灰色 */
    border-color: #666666;
    cursor: not-allowed;
}

/* 错误提示样式 */
.invalid-feedback-custom {
    color: #ff4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* 提示信息样式 */
.alert-custom {
    border: none;
    border-radius: 8px;
    padding: 1rem;
}

.alert-success-custom {
    background-color: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

.alert-danger-custom {
    background-color: rgba(255, 68, 68, 0.15);
    color: #ff4444;
}

/* 留言框 end */


/* 联系方式弹框 start */
.phone-modal .modal-dialog {
    max-width: 400px;
    margin: 15% auto;
}

.phone-modal .modal-header {
    background-color: #ff4444;
    border-bottom: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px 8px 0 0;
}

.phone-modal .modal-title {
    color: #ffffff;
    font-weight: 600;
    margin: 0;
}

.phone-modal .modal-body {
    padding: 1.5rem;
    color: black;
    font-size: 0.95rem;
    line-height: 1.6;
}

.phone-modal .modal-footer {
    border-top: none;
    padding: 1rem 1.5rem 1.5rem;
    justify-content: center;
}

.phone-modal .btn-close {
    filter: invert(1);
}

/* 联系方式弹框 end */



/* 移动端 */
@media (max-width: 599px) {

    /* 悬浮按钮 */
    .tools-btn {
        margin: 0;
        width: 40px;
    }

    .tools-btn svg {
        transform: scale(0.8);
    }
}