/* Random Date Generator Tool Styles */
.random-date-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.random-date-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.random-date-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.random-date-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.random-date-tool {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.random-date-inputs {
    flex: 1;
    min-width: 300px;
}

.random-date-results {
    flex: 1;
    min-width: 300px;
}

.random-date-option {
    margin-bottom: 1.5rem;
}

.random-date-option label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.random-date-select, .random-date-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.random-date-select:focus, .random-date-input:focus {
    border-color: #6e8efb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2);
}

.random-date-button {
    background: #6e8efb;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.random-date-button:hover {
    background: #5a7df4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(110, 142, 251, 0.4);
}

.random-date-custom-range {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.random-date-range-input {
    flex: 1;
}

.random-date-output {
    background: #f8f9fa;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    min-height: 150px;
    margin-bottom: 1.5rem;
    font-family: monospace;
    white-space: pre-wrap;
    line-height: 1.6;
}

.random-date-copy-button, .random-date-download-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
    border: none;
}

.random-date-copy-button {
    background: #4caf50;
    color: white;
}

.random-date-download-button {
    background: #2196f3;
    color: white;
}

.random-date-copy-button:hover {
    background: #3d8b40;
    transform: translateY(-1px);
}

.random-date-download-button:hover {
    background: #0d8bf2;
    transform: translateY(-1px);
}

.random-date-info-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
}

.random-date-info-box {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.random-date-info-box:hover {
    transform: translateY(-5px);
}

.random-date-info-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.random-date-info-box h3 {
    margin-bottom: 1rem;
    color: #444;
}

.random-date-info-box p {
    color: #666;
    line-height: 1.6;
}

.random-date-content {
    margin-bottom: 4rem;
}

.random-date-content-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #444;
    position: relative;
}

.random-date-content-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #6e8efb, #a777e3);
    margin: 1rem auto;
    border-radius: 2px;
}

.random-date-content-text {
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    color: #555;
    text-align: center;
}

.random-date-feature {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.random-date-feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.random-date-feature-text h3 {
    margin-bottom: 0.5rem;
    color: #444;
}

.random-date-feature-text p {
    color: #666;
    line-height: 1.6;
}

.random-date-related-tool {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.1rem;
}

.random-date-link {
    color: #6e8efb;
    text-decoration: none;
    font-weight: 600;
}

.random-date-link:hover {
    text-decoration: underline;
}

.random-date-faq {
    margin-bottom: 2rem;
}

.random-date-faq-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #444;
}

.random-date-faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.random-date-faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    border: none;
    background: white;
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.random-date-faq-question:hover {
    background: #f8f9fa;
}

.random-date-faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.random-date-faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.random-date-faq-answer p {
    padding-bottom: 1.5rem;
    color: #666;
    line-height: 1.7;
}

.random-date-faq-item.active .random-date-faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.random-date-faq-item.active .random-date-faq-icon {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .random-date-hero h1 {
        font-size: 2rem;
    }
    
    .random-date-hero p {
        font-size: 1rem;
    }
    
    .random-date-custom-range {
        flex-direction: column;
        gap: 1rem;
    }
    
    .random-date-feature {
        flex-direction: column;
        text-align: center;
    }
}