/* 日期计算器样式 */

/* 两列布局 */
.two-column-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .two-column-wrap {
        grid-template-columns: 1fr;
    }
}

/* 工具模块卡片 */
.tool-module-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 模块头部 */
.module-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.module-header i {
    color: #6366f1;
}

/* 模块描述 */
.module-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* 表单组 */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

/* 工具输入框 */
.tool-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.tool-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* 输入行 */
.input-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

/* 单选组 */
.radio-group {
    margin-bottom: 16px;
}

.radio-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.radio-options {
    display: flex;
    gap: 16px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* 复选框组 */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 500;
    color: #333;
}

/* 按钮样式 */
.btn {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.primary-btn {
    background: #6366f1;
    color: white;
}

.primary-btn:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

.secondary-btn {
    background: #e5e7eb;
    color: #333;
}

.secondary-btn:hover {
    background: #d1d5db;
}

/* 结果框 */
.result-box {
    margin-top: 20px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

.result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.result-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.result-label {
    font-weight: 500;
    color: #333;
}

.result-value {
    flex: 1;
    text-align: right;
    font-family: monospace;
    font-size: 16px;
    font-weight: 600;
    color: #1e40af;
    margin: 0 12px;
    word-break: break-all;
}

/* 复制按钮 */
.copy-btn {
    padding: 6px 12px;
    background: #3b82f6;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

/* 卡片样式 */
.tool-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.info-content {
    margin-top: 15px;
    line-height: 1.8;
}

.info-content h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #555;
}

.info-content p {
    margin-bottom: 10px;
    color: #666;
}

/* FAQ样式 */
.faq-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

/* 工具优势 */
.tool-advantage {
    margin: 30px 0;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    text-align: center;
}