body {
    margin: 0;
    padding: 40px 20px;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Helvetica Neue",
        Arial,
        sans-serif;

    background: #f5f5f5;
}


.container {

    max-width: 500px;

    margin: 0 auto;

    padding: 30px;

    background: #ffffff;

    border-radius: 10px;

    box-sizing: border-box;
}


h1 {

    margin-top: 0;

    font-size: 24px;

    text-align: center;
}


h2 {

    margin: 0 0 20px;

    font-size: 20px;
}


button {

    display: block;

    width: 100%;

    margin-top: 15px;

    padding: 15px;

    border: 0;

    border-radius: 6px;

    font-size: 16px;

    cursor: pointer;
}


#subscribe-button {

    background: #007bff;

    color: #ffffff;
}


#test-send-button {

    background: #28a745;

    color: #ffffff;
}


#free-send-button {

    background: #f57c00;

    color: #ffffff;
}


#unsubscribe-button {

    background: #dc3545;

    color: #ffffff;
}


button:disabled {

    opacity: 0.5;

    cursor: not-allowed;
}


#status {

    margin-top: 25px;

    padding: 15px;

    background: #f1f1f1;

    border-radius: 6px;

    white-space: pre-wrap;

    word-break: break-word;

    font-size: 13px;
}


/*
 * 初期状態では非表示
 */
.hidden {

    display: none;
}


/*
 * 直接送信フォーム
 */
#free-send-form {

    margin-top: 25px;

    padding-top: 25px;

    border-top:
        1px solid #dddddd;
}


#free-send-form label {

    display: block;

    margin-top: 15px;

    margin-bottom: 5px;

    font-weight: bold;

    font-size: 14px;
}


#free-send-form input,
#free-send-form textarea {

    width: 100%;

    padding: 10px;

    border:
        1px solid #cccccc;

    border-radius: 5px;

    box-sizing: border-box;

    font-size: 14px;
}


#free-send-form textarea {

    min-height: 100px;

    resize: vertical;
}


/*
 * user_type / user_id
 */
#user-target-form {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #dddddd;
}

#user-target-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

#user-target-form input,
#user-target-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
    background: #ffffff;
}

#user-target-form select {
    height: 40px;
}

#user-target-form button {
    background: #007bff;
    color: #ffffff;
}
