/**
 * 日期转大写工具样式
 *
 * @package All-in-One WP Toolbox
 */

.aiowtb-date-to-uppercase {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* 卡片样式 */
.aiowtb-date-to-uppercase .aiowtb-tool-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin-top: 15px;
    transition: box-shadow 0.3s ease;
}

.aiowtb-date-to-uppercase .aiowtb-tool-content:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.aiowtb-date-to-uppercase .aiowtb-tool-header {
    margin-bottom: 20px;
}

.aiowtb-date-to-uppercase .aiowtb-tool-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.aiowtb-date-to-uppercase .aiowtb-tool-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 标签样式 */
.aiowtb-date-to-uppercase .aiowtb-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #444;
    font-size: 1rem;
}

/* 输入区域样式 */
.aiowtb-date-to-uppercase .aiowtb-input-group {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.aiowtb-date-to-uppercase .aiowtb-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.aiowtb-date-to-uppercase .aiowtb-input:focus {
    border-color: #5b9bd5;
    box-shadow: 0 0 0 3px rgba(91, 155, 213, 0.2);
    outline: none;
}

.aiowtb-date-to-uppercase .aiowtb-date-picker {
    min-width: 120px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.aiowtb-date-to-uppercase .aiowtb-date-picker:focus {
    border-color: #5b9bd5;
    box-shadow: 0 0 0 3px rgba(91, 155, 213, 0.2);
    outline: none;
}

.aiowtb-date-to-uppercase .aiowtb-form-hint {
    font-size: 13px;
    color: #777;
    margin-top: 6px;
}

.aiowtb-date-to-uppercase .aiowtb-error-message {
    color: #e53935;
    font-size: 14px;
    margin-top: 8px;
    padding: 8px 12px;
    background-color: rgba(229, 57, 53, 0.08);
    border-radius: 4px;
    display: none;
    animation: fadeIn 0.3s ease;
}

/* 按钮区域样式 */
.aiowtb-date-to-uppercase .aiowtb-button-group {
    margin: 20px 0;
    display: flex;
    gap: 12px;
}

.aiowtb-date-to-uppercase .aiowtb-button {
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #5b9bd5;
    color: white;
}

.aiowtb-date-to-uppercase .aiowtb-button:hover {
    background-color: #4a8bc6;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.aiowtb-date-to-uppercase .aiowtb-button:active {
    transform: translateY(1px);
    box-shadow: none;
}

.aiowtb-date-to-uppercase .aiowtb-button-secondary {
    background-color: #f3f3f3;
    color: #555;
}

.aiowtb-date-to-uppercase .aiowtb-button-secondary:hover {
    background-color: #e9e9e9;
}

/* 结果区域样式 */
.aiowtb-date-to-uppercase .aiowtb-result-container {
    margin-top: 25px;
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: none;
    animation: slideDown 0.4s ease;
}

.aiowtb-date-to-uppercase .aiowtb-result-header {
    font-weight: 600;
    margin-bottom: 18px;
    color: #333;
    font-size: 16px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
}

.aiowtb-date-to-uppercase .aiowtb-result-group {
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 6px;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    transition: all 0.3s ease;
}

.aiowtb-date-to-uppercase .aiowtb-result-group:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.aiowtb-date-to-uppercase .aiowtb-result-group:last-child {
    margin-bottom: 0;
}

.aiowtb-date-to-uppercase .aiowtb-result-label {
    width: 120px;
    font-weight: 500;
    color: #555;
    font-size: 16px;
}

.aiowtb-date-to-uppercase .aiowtb-result-content {
    flex: 1;
    padding: 10px 14px;
    
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 16px;
    min-height: 22px;
    font-weight: 600;
    color: #333;
    margin-right: 10px;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.aiowtb-date-to-uppercase .aiowtb-result-content.highlight {
    background-color: #faffbd;
    border-color: #f5dc00;
    animation: pulse 0.7s ease;
}

.aiowtb-date-to-uppercase .aiowtb-copy-button {
    padding: 6px 12px;
    font-size: 14px;
    background-color: #f0f0f0;
    color: #666;
}

.aiowtb-date-to-uppercase .aiowtb-copy-button:hover {
    background-color: #e0e0e0;
}

.aiowtb-date-to-uppercase .aiowtb-copy-message {
    display: inline-block;
    color: #4caf50;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    margin-left: 8px;
}

.aiowtb-date-to-uppercase .aiowtb-copy-message.show {
    opacity: 1;
    animation: fadeIn 0.3s ease;
}
.aiowtb-disclaimer{
    font-size: 14px;
    background-color: #f8f8f8;
    padding: 10px;
    margin-top: 15px;
    border-radius: 6px;
    border-left: 3px solid #5b9bd5;
    margin-top: 10px;
}
/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { 
        opacity: 0;
        transform: translateY(-10px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(245, 220, 0, 0.7);
    }
    70% { 
        box-shadow: 0 0 0 5px rgba(245, 220, 0, 0);
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(245, 220, 0, 0);
    }
}

/* 响应式样式 */
@media (max-width: 768px) {
    .aiowtb-date-to-uppercase .aiowtb-tool-content {
        padding: 16px;
    }
    
    .aiowtb-date-to-uppercase .aiowtb-input-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .aiowtb-date-to-uppercase .aiowtb-input,
    .aiowtb-date-to-uppercase .aiowtb-date-picker {
        width: 90%;
    }
    
    .aiowtb-date-to-uppercase .aiowtb-button-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .aiowtb-date-to-uppercase .aiowtb-button {
        width: 100%;
    }
    
    .aiowtb-date-to-uppercase .aiowtb-result-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .aiowtb-date-to-uppercase .aiowtb-result-label {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .aiowtb-date-to-uppercase .aiowtb-result-content {
        width: 85%;
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .aiowtb-date-to-uppercase .aiowtb-copy-button {
        align-self: flex-start;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .aiowtb-date-to-uppercase .aiowtb-tool-content {
        padding: 12px;
    }
    
    .aiowtb-date-to-uppercase .aiowtb-result-container {
        padding: 12px;
    }
} 