/* Fun Death Date Calculator Styles */
.fdc-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Disclaimers */
.fdc-disclaimer {
    background: #fff3cd;
    border: 2px solid #ffeaa7;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    animation: fadeIn 0.5s ease;
}

.fdc-disclaimer-top {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
}

.fdc-disclaimer-middle {
    background: #e3f2fd;
    border-color: #bbdefb;
    margin: 1.5rem 0;
    text-align: center;
}

.fdc-disclaimer-icon {
    font-size: 1.5rem;
    color: #f39c12;
}

.fdc-disclaimer-content {
    flex: 1;
}

.fdc-disclaimer-content strong {
    color: #d35400;
    display: block;
    margin-bottom: 0.5rem;
}

.fdc-disclaimer-content p {
    margin: 0;
    color: #666;
}

.fdc-footer-disclaimer {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 2rem;
    text-align: center;
    border: 2px dashed #dee2e6;
    animation: fadeIn 0.8s ease;
}

.fdc-footer-disclaimer i {
    color: #f39c12;
    margin-right: 0.5rem;
}

/* Main Card */
.fdc-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fdc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.fdc-header {
    text-align: center;
    margin-bottom: 2rem;
    animation: slideDown 0.6s ease;
}

.fdc-header h1 {
    color: #333;
    font-size: 2.2rem;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.fdc-header i {
    color: var(--fdc-primary, #4f46e5);
}

.fdc-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

/* Form Styles */
.fdc-form {
    animation: fadeInUp 0.7s ease;
}

.fdc-form-group {
    margin-bottom: 1.5rem;
}

.fdc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.fdc-form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #444;
}

.fdc-form-group label i {
    color: var(--fdc-primary, #4f46e5);
}

.fdc-input, .fdc-select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.fdc-input:focus, .fdc-select:focus {
    outline: none;
    border-color: var(--fdc-primary, #4f46e5);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.fdc-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.fdc-note i {
    color: #3498db;
}

/* Button */
.fdc-button {
    background: linear-gradient(135deg, var(--fdc-primary, #4f46e5) 0%, var(--fdc-accent, #10b981) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    margin-top: 1rem;
}

.fdc-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.2);
}

.fdc-button:active {
    transform: translateY(0);
}

.fdc-button-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    margin-top: 1.5rem;
}

/* Results */
.fdc-results {
    animation: fadeIn 0.8s ease;
    margin-top: 2rem;
}

.fdc-results h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.fdc-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.fdc-result-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid #dee2e6;
    transition: transform 0.3s ease;
}

.fdc-result-card:hover {
    transform: translateY(-3px);
}

.fdc-result-icon {
    font-size: 2.5rem;
    color: var(--fdc-accent, #10b981);
    margin-bottom: 1rem;
}

.fdc-result-card h3 {
    margin: 0 0 1rem 0;
    color: #444;
    font-size: 1.1rem;
}

.fdc-result-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--fdc-primary, #4f46e5);
    animation: pulse 1.5s infinite;
}

.fdc-fun-message {
    background: #e8f5e9;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
    border: 2px solid #c8e6c9;
    animation: fadeIn 1s ease;
}

.fdc-fun-message p {
    margin: 0;
    color: #2e7d32;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Fun Facts */
.fdc-fun-facts {
    background: linear-gradient(135deg, #f0f4ff 0%, #e3e9ff 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
    animation: fadeIn 1s ease;
}

.fdc-fun-facts h3 {
    color: #333;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.fdc-fun-facts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fdc-fun-facts li {
    padding: 0.5rem 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.fdc-fun-facts li:before {
    content: "🎯";
    font-size: 1.2rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .fdc-form-row,
    .fdc-results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .fdc-header h1 {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .fdc-card {
        padding: 1.5rem;
    }
    
    .fdc-result-value {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .fdc-container {
        margin: 1rem auto;
    }
    
    .fdc-header h1 {
        font-size: 1.5rem;
    }
    
    .fdc-subtitle {
        font-size: 1rem;
    }
    
    .fdc-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Loading State */
.fdc-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(79, 70, 229, 0.3);
    border-radius: 50%;
    border-top-color: var(--fdc-primary, #4f46e5);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error States */
.fdc-success {
    color: var(--fdc-accent, #10b981) !important;
}

.fdc-error {
    color: #e74c3c !important;
}

/* Custom Properties for Theme Colors */
:root {
    --fdc-primary: #4f46e5;
    --fdc-accent: #10b981;
}