/* Email PDF Download — Frontend Styles v2.1 */

.epd-wrapper {
    max-width: 520px;
    margin: 32px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.epd-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 36px 32px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.epd-icon  { font-size: 48px; line-height: 1; margin-bottom: 12px; }
.epd-title { font-size: 22px; font-weight: 700; color: #111827; margin: 0 0 8px; }
.epd-desc  { font-size: 15px; color: #6b7280; margin: 0 0 24px; line-height: 1.5; }

.epd-row { display: flex; gap: 8px; flex-wrap: wrap; }

.epd-input {
    flex: 1 1 200px;
    padding: 12px 16px;
    font-size: 15px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    transition: border-color .2s;
    min-width: 0;
    box-sizing: border-box;
}
.epd-input:focus { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,.15); }

.epd-btn {
    flex-shrink: 0;
    padding: 12px 22px;
    background: #6366f1;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s, transform .1s;
    white-space: nowrap;
}
.epd-btn:hover    { background: #4f46e5; }
.epd-btn:active   { transform: scale(.97); }
.epd-btn:disabled { background: #a5b4fc; cursor: not-allowed; }

.epd-rgpd { display: flex; align-items: flex-start; gap: 10px; text-align: left; margin-top: 14px; cursor: pointer; }
.epd-rgpd input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: #6366f1; }
.epd-rgpd span { font-size: 13px; color: #6b7280; line-height: 1.5; }

.epd-msg { margin-top: 16px; padding: 10px 16px; border-radius: 8px; font-size: 14px; font-weight: 500; text-align: center; }
.epd-msg.epd-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.epd-msg.epd-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

@media (max-width: 480px) {
    .epd-card { padding: 24px 18px; }
    .epd-row  { flex-direction: column; }
    .epd-btn  { width: 100%; }
}
