.dd-container {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dd-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.dd-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 150px;
    position: relative;
}

.dd-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.dd-number {
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
}

.dd-target-date {
    text-align: center;
    flex: 2;
    min-width: 200px;
}

.dd-date-large {
    font-size: 48px;
    font-weight: bold;
    color: #e74c3c;
    display: block;
}

.dd-event-text {
    font-size: 18px;
    color: #34495e;
    margin-top: 10px;
    font-style: italic;
}

.dd-copy-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    margin-top: 5px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.dd-copy-btn:hover {
    background-color: #f8f9fa;
    border-color: #007cba;
}

.dd-copy-btn .dd-copied-icon {
    display: none;
}

.dd-copy-btn.dd-copied .dd-copy-icon {
    display: none;
}

.dd-copy-btn.dd-copied .dd-copied-icon {
    display: inline;
    color: #27ae60;
}

.dd-copy-btn.dd-small {
    padding: 2px 6px;
    font-size: 10px;
    margin-left: 10px;
}

.dd-holidays-section {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.dd-holidays-title {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 16px;
}

.dd-holiday-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.dd-holiday-item:last-child {
    border-bottom: none;
}

.dd-holiday-name {
    flex-grow: 1;
}

.dd-share-section {
    margin-top: 30px;
    text-align: center;
}

.dd-share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dd-share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.dd-share-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.dd-share-btn.dd-vk { background-color: #4a76a8; }
.dd-share-btn.dd-tg { background-color: #0088cc; }
.dd-share-btn.dd-wa { background-color: #25d366; }
.dd-share-btn.dd-link { background-color: #6c757d; }

.dd-copy-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background-color: #27ae60;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    z-index: 10000;
}

.dd-copy-notification.dd-show {
    transform: translateX(-50%) translateY(0);
}

.dd-error {
    color: #e74c3c;
    padding: 10px;
    border: 1px solid #e74c3c;
    border-radius: 5px;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 768px) {
    .dd-result {
        flex-direction: column;
        text-align: center;
    }
    
    .dd-section {
        min-width: 100%;
        margin-bottom: 20px;
    }
    
    .dd-date-large {
        font-size: 36px;
    }
    
    .dd-number {
        font-size: 28px;
    }
    
    .dd-share-buttons {
        gap: 5px;
    }
    
    .dd-share-btn {
        width: 45px;
        height: 45px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .dd-container {
        margin: 10px;
        padding: 15px;
    }
    
    .dd-date-large {
        font-size: 28px;
    }
    
    .dd-event-text {
        font-size: 16px;
    }
}