/* 自定义按钮样式 */
.custom-btn-small {
    width: 120px;
    height: 35px;
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 6px;
}

.custom-btn-medium {
    width: 160px;
    height: 42px;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
}

.custom-btn-large {
    width: 200px;
    height: 50px;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.custom-btn-xlarge {
    width: 250px;
    height: 60px;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 12px;
}

/* 按钮悬停效果 */
.custom-btn-large:hover,
.custom-btn-xlarge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 自定义文本框样式 */
.custom-textbox-small {
    width: 150px;
    height: 32px;
    font-size: 12px;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.custom-textbox {
    width: 100%;
    height: 40px;
    font-size: 14px;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.custom-textbox-large {
    width: 100%;
    height: 55px;
    font-size: 16px;
    font-weight: 500;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.custom-textbox-xlarge {
    width: 100%;
    height: 60px;
    font-size: 18px;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
}

/* 文本框焦点效果 */
.custom-textbox:focus,
.custom-textbox-large:focus,
.custom-textbox-xlarge:focus {
    border-color: #007bff;
    background-color: #ffffff;
    box-shadow: 0 0 0 0.3rem rgba(0,123,255,.15);
    outline: none;
    transform: translateY(-1px);
}

/* 文本框选中效果 */
.custom-textbox-large::selection {
    background-color: #007bff;
    color: white;
}

/* 文本域样式 */
.custom-textarea {
    width: 100%;
    min-height: 80px;
    font-size: 14px;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.custom-textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    outline: none;
}

/* 自定义标签样式 */
.custom-label {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    display: block;
}

.custom-label-large {
    font-size: 16px;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 10px;
    display: block;
}

/* 表单组样式 */
.custom-form-group {
    margin-bottom: 20px;
}

.custom-form-group-large {
    margin-bottom: 25px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .custom-btn-large,
    .custom-btn-xlarge {
        width: 100%;
        height: 45px;
        font-size: 14px;
    }
    
    .custom-textbox-large,
    .custom-textbox-xlarge {
        height: 45px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .custom-btn-medium {
        width: 100%;
        height: 40px;
        font-size: 13px;
    }
    
    .custom-textbox {
        height: 38px;
        font-size: 13px;
    }
}

/* 特殊效果按钮 */
.btn-gradient {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* 圆角按钮 */
.btn-rounded {
    border-radius: 25px;
}

/* 阴影效果 */
.shadow-custom {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.shadow-custom:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* 输入组样式 */
.input-group .custom-textbox-large {
    border-left: none;
    background-color: #fafafa;
}

.input-group .input-group-text {
    border-right: none;
    border: 2px solid #e0e0e0;
    border-radius: 10px 0 0 10px;
    background-color: #f8f9fa;
}

.input-group .custom-textbox-large {
    border-radius: 0 10px 10px 0;
}

.input-group:focus-within .input-group-text {
    border-color: #007bff;
    background-color: #e3f2fd;
}

.input-group:focus-within .custom-textbox-large {
    border-color: #007bff;
}
