/**
 * reader_request フォーム スタイル
 * front-page.php の newsletter セクション内で使用
 */

.reader-request__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto;
}

.reader-request__textarea {
    width: 100%;
    min-height: 110px;
    padding: 14px 16px;
    border: 1px solid var(--border, #d8d4ce);
    border-radius: 8px;
    background: var(--paper-warm, #f2ebdf);
    font-size: 15px;
    line-height: 1.7;
    color: #2a2a2a;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color .2s;
}
.reader-request__textarea:focus {
    outline: none;
    border-color: var(--mist, #6d7e89);
    background: #fff;
}

.reader-request__email {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border, #d8d4ce);
    border-radius: 8px;
    background: var(--paper-warm, #f2ebdf);
    font-size: 14px;
    color: #2a2a2a;
    box-sizing: border-box;
    transition: border-color .2s;
}
.reader-request__email:focus {
    outline: none;
    border-color: var(--mist, #6d7e89);
    background: #fff;
}

.reader-request__email-label {
    font-size: 12px;
    color: #777;
    margin: 0 0 -8px 4px;
}

.reader-request__button {
    align-self: center;
    padding: 12px 40px;
    background: #2a2a2a;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .05em;
    cursor: pointer;
    transition: background .2s, transform .1s;
}
.reader-request__button:hover {
    background: #4a4a4a;
}
.reader-request__button:active {
    transform: scale(.98);
}
.reader-request__button:disabled {
    background: #999;
    cursor: wait;
}

.reader-request__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.reader-request__message {
    margin: 12px 0 0;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    display: none;
}
.reader-request__message.is-success {
    background: #e8f5e9;
    color: #2e7d32;
    display: block;
}
.reader-request__message.is-error {
    background: #ffebee;
    color: #c62828;
    display: block;
}

.reader-request__note {
    margin: 8px 0 0;
    font-size: 12px;
    color: #999;
    text-align: center;
}
