/**** 出欠献金、エグザイル登録などのフォームcss ****/

/**** 出欠献金ページ ****/
/**** 退会者登録ページ ****/
.common-form {
    max-width: 600px;
    margin: 20px auto 60px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
	text-align: center;
}
.common-form .form-info {
    margin-bottom: 24px;
}
.common-form .form-info span {
	font-size: 0.8em;
}
.attendance-donation-form.common-form .form-group {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 20px;
}

.common-form .form-group{
	display: block; 
    margin-bottom: 20px;
}

.common-form .present-radio-button {
    position: relative;
    padding: 10px 35px;
    font-size: 1.2em;
    margin: 0 10px;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f0f0f0;
    color: #666;
    cursor: pointer;
    text-align: center; /* 文字を中央に配置 */
    transition: background-color 0.3s, color 0.3s; /* スムーズな色変化 */
}

.common-form .present-radio-button input {
    display: none; /* デフォルトのラジオボタンを非表示 */
}

.common-form .present-radio-button .checkmark {
    position: relative; 
    display: inline-block;
    border-radius: 50%;
    background-color: transparent;
    transition: background-color 0.3s; 
}

.common-form .present-radio-button input:checked + .checkmark::before {
    content: attr(data-label);
    color: white;
}

.common-form label {
    display: block;
    margin-bottom: 10px;
	text-align: center;
    margin-top: 35px;
}

.attendance-donation-form.common-form input[type="text"] {
	width: 130px;
    padding: 10px 10px;
    font-size: 18px;
    text-align: right;
    margin-right: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.common-form select,
.common-form input[type="text"],
.common-form input[type="date"]{
	width: 215px;
    padding: 10px 10px;
    font-size: 18px;
    margin-right: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: left;
}
.common-form input[type="date"]{
	margin-bottom: 20px;
}	

.attendance-donation-form select {
    width: 215px;
    font-size: 1.0em;
    text-align: center;
    padding: 10px;
    margin-bottom: 50px;
    border: 1px solid #ccc;
    border-radius: 5px;
	appearance: none; /* 全てのブラウザのデフォルトスタイルを解除 */
    -webkit-appearance: none;/* SafariやChromeのデフォルトスタイルを解除 */
    -moz-appearance: none;/* Firefoxのデフォルトスタイルを解除 */
    outline: none;/* フォーカス時のアウトラインを解除 */
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="gray"><path d="M7 10l5 5 5-5H7z"/></svg>'); /* ▼マークのアイコン */
    background-repeat: no-repeat;
    background-position: right 10px center; /* アイコンの位置 */
    background-size: 18px; /* アイコンのサイズ */
}
.attendance-donation-form #payment-method{
	margin-bottom: 0px !important;
}

.common-form textarea {
    width: 285px;
    height: 85px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
    text-align: left;
}
#timeline-description{
	width: 80%;
    height: 200px;
	resize: vertical;
}

.common-form button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #a8c2a0;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
	font-size: 1.0em;
}
#leader-donation-form button{
	background-color: #cca881;
}
#leader-donation-form button:hover{
	background-color: #b29371;
}

.attendance-donation-form button:hover{
    background-color: #1f4027;
}
.exile-registration-form button:hover,
.timeline-registration-form button:hover{
	background-color: #b29371;
}

.common-form #church-list-label{
	margin-bottom: 10px;
}
.common-form small{
	display: block;
    margin-top: 4px;
    color: #848484;
}

.common-form .submit-btn {
	width: 250px;
	margin: 40px auto;
}
.attendance-donation-form .submit-btn{
	background-color: #6e8c65;
}
.exile-registration-form .submit-btn,
.timeline-registration-form .submit-btn{
	background-color: #d89b3a;
}

#leader-donation-form .submit-btn{
	background-color: #d89b3a;
}

.form-sent.leader-form-sent a{
	background-color: #d89b3a;
}
.form-sent a.leader-donation-sent{
	background-color: #d89b3a;
}

@media (max-width: 767px) {
	.common-form {
		padding: 20px 5px;
	}
	.common-form select {
    	font-size: 0.9em;
		width: 225px;
	}
	.common-form .submit-btn {
		font-size: 1.2em;
	}
	.attendance-donation-form .donation-buttons button {
	    font-size: 0.8em;
    	font-weight: bold;
		padding: 10px 8px;
	}
	.exile-registration-form textarea{
		width: 250px;
	}
}

/* ユーザー情報の表示 */
.common-form #user-info {
	margin: 20px 20px;
    text-align: center;
}

.donation-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.donation-button, #clear-donation {
    padding: 10px;
    background-color: #aaa;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    flex: 1;
    margin: 0 5px;
}

.donation-button:hover, #clear-donation:hover {
    background-color: #949494;
}
#leader-donation-form #clear-donation {
	background-color: #aaa;
}
#leader-donation-form #clear-donation:hover {
    background-color: #949494;
}

/**** 通常献金以外の献金ページ ****/
.attendance-donation-form select#payment-category{
	margin-bottom: 10px;
}
#other-note{
    width: 280px;
    height: 80px;
    resize: none;
	font-size: 1.1em;
}

/* フォーム送信後 */
.form-sent{
    text-align: center;
}
.form-sent h2{
	margin: 100px auto 20px;
}

/**** 修正フォーム用ページ ****/
.attendance-donation-form.common-form .form-group.form-group-correct-id{
	display: block;
}
/* 注意事項ボックスのスタイル */
.notice-box {
    width: 80%;                  /* 中央寄せのための幅調整 */
    margin: 0 auto 20px;         /* 上下中央揃え */
    padding: 15px;               /* 内側余白 */
    background-color: #f9f9f9;   /* 背景色 */
    border: 1px solid #ccc;      /* 枠線 */
    border-radius: 5px;          /* 角丸 */
    text-align: left;            /* 左寄せ */
}

.notice-box p {
    font-weight: bold;           /* タイトルを強調 */
    margin-bottom: 10px;         /* タイトルとリストの間の余白 */
}

.notice-box ul {
    padding-left: 20px;          /* リストの左側余白 */
    list-style-type: disc;       /* 箇条書きマーク */
}

.notice-box ul li {
    margin-bottom: 5px;          /* 各リスト項目の余白 */
}

