/* Claude Newsletter - Public Styles */
.cn-subscribe-widget {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Card style */
.cn-style-card {
    background: #1a1a2e;
    color: #f0e6d3;
    border-radius: 16px;
    padding: 40px;
    max-width: 520px;
    margin: 32px auto;
    box-shadow: 0 20px 60px rgba(26, 26, 46, 0.25);
}

.cn-style-card .cn-widget-title {
    color: #f0e6d3;
    font-size: 22px;
    margin: 0 0 12px;
    font-weight: 700;
}

.cn-style-card .cn-widget-desc {
    color: rgba(240,230,211,0.75);
    font-size: 15px;
    margin: 0 0 24px;
    line-height: 1.6;
}

/* Inline style */
.cn-style-inline {
    background: #f8f8f5;
    border: 2px solid #1a1a2e;
    border-radius: 12px;
    padding: 28px 32px;
    max-width: 600px;
}

.cn-style-inline .cn-widget-title {
    color: #1a1a2e;
    font-size: 20px;
    margin: 0 0 8px;
}

/* Minimal style */
.cn-style-minimal { max-width: 480px; }
.cn-style-minimal .cn-widget-title { font-size: 18px; margin-bottom: 8px; }

/* Form elements */
.cn-field-name,
.cn-field-email {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 12px;
    box-sizing: border-box;
    background: rgba(255,255,255,0.12);
    color: #f0e6d3;
    transition: border-color 0.2s;
}

.cn-style-inline .cn-field-name,
.cn-style-inline .cn-field-email,
.cn-style-minimal .cn-field-name,
.cn-style-minimal .cn-field-email {
    border-color: #ccc;
    background: #fff;
    color: #333;
}

.cn-field-name::placeholder,
.cn-field-email::placeholder { color: rgba(240,230,211,0.5); }

.cn-style-inline .cn-field-name::placeholder,
.cn-style-inline .cn-field-email::placeholder { color: #999; }

.cn-field-name:focus,
.cn-field-email:focus { outline: none; border-color: #fff; }

.cn-email-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cn-email-row .cn-field-email {
    flex: 1;
    margin-bottom: 0;
}

.cn-submit-btn {
    padding: 14px 24px;
    background: #f0e6d3;
    color: #1a1a2e;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.cn-submit-btn:hover { background: #fff; transform: translateY(-1px); }
.cn-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.cn-style-inline .cn-submit-btn,
.cn-style-minimal .cn-submit-btn {
    background: #1a1a2e;
    color: #fff;
}

.cn-style-inline .cn-submit-btn:hover,
.cn-style-minimal .cn-submit-btn:hover { background: #2d2d4e; }

.cn-message {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.cn-message.success { background: rgba(82,196,26,0.2); color: #52c41a; }
.cn-message.error { background: rgba(255,77,79,0.2); color: #ff4d4f; }

.cn-privacy {
    font-size: 12px;
    margin: 12px 0 0;
    opacity: 0.6;
}

@media (max-width: 480px) {
    .cn-email-row { flex-direction: column; }
    .cn-email-row .cn-field-email { margin-bottom: 0; }
    .cn-submit-btn { width: 100%; }
    .cn-style-card { padding: 28px 24px; }
}
