/* Email Button Styles - Optimized for Email Clients */
/* Diese Styles werden inline in E-Mails verwendet */

.email-button-container {
    margin: 30px 0;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.email-button-header {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin: 0 0 20px 0;
    font-family: Arial, sans-serif;
}

.email-button-separator {
    font-size: 14px;
    color: #6c757d;
    margin: 0 0 20px 0;
    letter-spacing: 2px;
}

.email-button-row {
    display: block;
    text-align: center;
    margin: 0;
}

/* Base Button Styles */
.email-button {
    display: inline-block;
    margin: 8px 4px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    border: 2px solid;
    cursor: pointer;
    font-family: Arial, sans-serif;
    line-height: 1.2;
    box-sizing: border-box;
    min-width: 140px;
    max-width: 180px;
    transition: all 0.2s ease;
}

/* Accept Button - Green */
.email-button-accept {
    background-color: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.email-button-accept:hover {
    background-color: #059669;
    border-color: #059669;
}

/* Reject Button - Red */
.email-button-reject {
    background-color: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}

.email-button-reject:hover {
    background-color: #dc2626;
    border-color: #dc2626;
}

/* View Button - Blue */
.email-button-view {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

.email-button-view:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}

/* Mobile Responsive */
@media only screen and (max-width: 480px) {
    .email-button-container {
        padding: 15px;
        margin: 20px 0;
    }

    .email-button {
        display: block;
        width: 100%;
        max-width: none;
        margin: 8px 0;
        padding: 18px 24px;
    }

    .email-button-row {
        margin: 0;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .email-button-container {
        background: #1f2937;
        border-color: #374151;
    }

    .email-button-header {
        color: #f3f4f6;
    }

    .email-button-separator {
        color: #9ca3af;
    }
}

/* Outlook-specific fixes */
@-ms-viewport {
    width: device-width;
}

[owa] .email-button {
    border-radius: 4px !important;
}

/* Apple Mail fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .email-button {
        border-radius: 8px;
    }
}