/* Anniversary Calculator Styles */
.anniversary-calculator-wrapper {
    max-width: 950px;
    margin: 30px auto;
    padding: 20px;
}

.anniversary-calc-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.anniversary-calc-title {
    text-align: center;
    color: #1a1a1a;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.anniversary-calc-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 35px;
}

.anniversary-input-section {
    background: linear-gradient(135deg, #fff5f7 0%, #ffe8f0 100%);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #ffb3d9;
}

.anniversary-input-group {
    margin-bottom: 25px;
}

.anniversary-input-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 15px;
}

.anniversary-date-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #ffb3d9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: white;
}

.anniversary-date-input:focus {
    outline: none;
    border-color: #ff1493;
    box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.1);
}

.anniversary-type-selector {
    margin-bottom: 25px;
}

.anniversary-type-selector > label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 15px;
}

.type-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.type-radio {
    flex: 1;
    min-width: 140px;
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid #ffb3d9;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.type-radio:hover {
    border-color: #ff1493;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.2);
}

.type-radio input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

.type-radio input[type="radio"]:checked + span {
    color: #ff1493;
    font-weight: 600;
}

.type-radio span {
    color: #555;
    font-size: 15px;
}

.anniversary-calc-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.anniversary-calc-btn,
.anniversary-reset-btn {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.anniversary-calc-btn {
    background: linear-gradient(135deg, #ff1493 0%, #c71585 100%);
    color: white;
}

.anniversary-calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.4);
}

.anniversary-reset-btn {
    background: #f0f0f0;
    color: #555;
}

.anniversary-reset-btn:hover {
    background: #e0e0e0;
}

.anniversary-results {
    margin-top: 40px;
}

.anniversary-main-result {
    text-align: center;
    margin-bottom: 35px;
}

.anniversary-result-card.primary {
    background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
    padding: 40px;
    border-radius: 16px;
    color: white;
    box-shadow: 0 8px 30px rgba(255, 20, 147, 0.3);
}

.anniversary-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.anniversary-value {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.anniversary-label {
    font-size: 20px;
    opacity: 0.95;
    font-weight: 500;
}

.anniversary-breakdown-section {
    margin-bottom: 35px;
}

.anniversary-breakdown-section h3,
.anniversary-countdown h3,
.anniversary-gifts h3,
.anniversary-stats h3,
.anniversary-milestones h3 {
    color: #333;
    font-size: 22px;
    margin-bottom: 20px;
}

.anniversary-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.anniversary-stat-card {
    background: linear-gradient(135deg, #fff5f7 0%, #ffe8f0 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #ffb3d9;
    transition: all 0.3s;
}

.anniversary-stat-card:hover {
    border-color: #ff1493;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.2);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #ff1493;
    margin-bottom: 8px;
}

.stat-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.anniversary-countdown {
    background: linear-gradient(135deg, #ffd1dc 0%, #ffb3d9 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 35px;
}

.countdown-display {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    text-align: center;
}

.countdown-unit {
    padding: 15px;
}

.countdown-number {
    font-size: 28px;
    font-weight: 700;
    color: #ff1493;
    display: block;
}

.countdown-text {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.countdown-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 12px 18px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.countdown-label {
    font-weight: 600;
    color: #333;
}

.countdown-value {
    font-weight: 700;
    color: #c71585;
    font-size: 16px;
}

.anniversary-gifts {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 35px;
}

.gifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gift-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #ffb3d9;
    text-align: center;
    transition: all 0.3s;
}

.gift-card:hover {
    border-color: #ff1493;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.2);
}

.gift-type {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.gift-name {
    font-size: 18px;
    font-weight: 700;
    color: #ff1493;
}

.anniversary-stats {
    background: linear-gradient(135deg, #fff5f7 0%, #ffe8f0 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 35px;
    border: 2px solid #ffb3d9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.stat-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #ffd1dc;
    transition: all 0.3s;
}

.stat-item:hover {
    border-color: #ff1493;
    transform: translateY(-3px);
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #ff1493;
    margin-bottom: 8px;
}

.stat-text {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.anniversary-milestones {
    background: linear-gradient(135deg, #ffd1dc 0%, #ffb3d9 100%);
    padding: 30px;
    border-radius: 12px;
}

.milestones-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.milestone-item {
    background: white;
    padding: 20px 25px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #ff1493;
    transition: all 0.3s;
}

.milestone-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.2);
}

.milestone-year {
    font-size: 24px;
    font-weight: 700;
    color: #ff1493;
}

.milestone-info {
    flex: 1;
    margin: 0 20px;
}

.milestone-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.milestone-gifts {
    font-size: 13px;
    color: #666;
}

.milestone-date {
    font-size: 14px;
    color: #999;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
    .anniversary-calc-container {
        padding: 25px;
    }
    
    .anniversary-calc-title {
        font-size: 26px;
    }
    
    .anniversary-input-section {
        padding: 20px;
    }
    
    .type-options {
        flex-direction: column;
    }
    
    .type-radio {
        min-width: auto;
    }
    
    .anniversary-calc-actions {
        flex-direction: column;
    }
    
    .anniversary-value {
        font-size: 32px;
    }
    
    .gifts-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .countdown-display {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .anniversary-calculator-wrapper {
        padding: 10px;
    }
    
    .anniversary-calc-container {
        padding: 20px;
    }
    
    .anniversary-breakdown-grid {
        grid-template-columns: 1fr;
    }
    
    .milestone-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .milestone-info {
        margin: 0;
    }
}