:root {
    /* Farbvariablen */
    --primary-color: #2271b1;
    --primary-dark: #135e96;
    --primary-light: #e3f2fd;
    --primary-border: #bbdefb;
    --background-color: #fff;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --border-light: #f0f0f0;
    --light-bg: #f8f9fa;
    --light-hover: #e9ecef;
    --success-color: #00a32a;
    --error-color: #d63638;
    --warning-color: #dba617;
    
    /* Effekt-Variablen */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-sm: 4px;
}


/* Share Buttons Styles */
.diwidu-share-buttons {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.diwidu-share-buttons h4 {
    margin: 0 0 1rem 0;
    color: var(--text-color);
    font-size: 1.1em;
    font-weight: 600;
}

.share-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ALLE Share-Buttons haben das gleiche Aussehen - nur die Farbe ändert sich */
.share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9em;
    transition: var(--transition);
    cursor: pointer;
    text-transform: none;
    font-weight: normal;
    line-height: 1;
}

/* Linke Border für alle Buttons */
.share-button.facebook { border-left: 4px solid #3b5998; }
.share-button.linkedin { border-left: 4px solid #0077b5; }
.share-button.whatsapp { border-left: 4px solid #25d366; }
.share-button.email { border-left: 4px solid #ea4335; }
.share-button.copy-link { border-left: 4px solid #666; } /* GRAU für Copy-Link */

/* Hover-Effekte - alle gleich */
.share-button.facebook:hover { 
    background: #3b5998; 
    color: white; 
    border-color: #3b5998;
}
.share-button.linkedin:hover { 
    background: #0077b5; 
    color: white; 
    border-color: #0077b5;
}
.share-button.whatsapp:hover { 
    background: #25d366; 
    color: white; 
    border-color: #25d366;
}
.share-button.email:hover { 
    background: #ea4335; 
    color: white; 
    border-color: #ea4335;
}
.share-button.copy-link:hover { 
    background: #666;  /* GRAU für Copy-Link */
    color: white; 
    border-color: #666;
}

/* Dashicons für alle gleich */
.share-button .dashicons {
    text-decoration: none !important;
    font-size: 16px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .share-buttons-container {
        flex-direction: column;
    }
    
    .share-button {
        justify-content: center;
    }
}

/* Calendar Buttons Styles */
.diwidu-calendar-buttons {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.diwidu-calendar-buttons h4 {
    margin: 0 0 1rem 0;
    color: var(--text-color);
    font-size: 1.1em;
    font-weight: 600;
}

.calendar-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.calendar-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9em;
    transition: var(--transition);
    text-transform: none;
    font-weight: normal;
    line-height: 1;
}

.calendar-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

/* Dashicons korrekt ausrichten */
.calendar-button .dashicons {
    text-decoration: none !important;
    font-size: 16px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Platform colors */
.calendar-button.google-calendar { border-left: 4px solid #4285f4; }
.calendar-button.outlook-calendar { border-left: 4px solid #0078d4; }
.calendar-button.ical-download { border-left: 4px solid #666; }

.calendar-button.google-calendar:hover { 
    background: #4285f4; 
    color: white; 
    border-color: #4285f4;
}
.calendar-button.outlook-calendar:hover { 
    background: #0078d4; 
    color: white; 
    border-color: #0078d4;
}
.calendar-button.ical-download:hover { 
    background: #666; 
    color: white; 
    border-color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .calendar-buttons-container {
        flex-direction: column;
    }
}

/* Allgemeine Regel für alle Links in den Buttons */
.share-button, .calendar-button,
.share-button:hover, .calendar-button:hover,
.share-button:focus, .calendar-button:focus,
.share-button:active, .calendar-button:active {
    text-decoration: none !important;
    outline: none;
}

/* Istagram Caption Styles */
.diwidu-instagram-generator {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.diwidu-instagram-generator h4 {
    margin: 0 0 1rem 0;
    color: var(--text-color);
    font-size: 1.1em;
    font-weight: 600;
}