.register-form-wrap {
    margin-bottom: 60px;
}

.form-box {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

@media (max-width: 767px) {
    .form-box {
        padding: 25px 20px;
    }
}

.form-group-wrapper {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.form-group-wrapper:last-child {
    border-bottom: none;
}

.form-group-title h6 {
    font-weight: 600;
    font-size: 16px;
}

.badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 3px;
}

.form-control, .form-select {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.invalid-feedback {
    display: block;
    font-size: 12px;
    margin-top: 5px;
}


.registration-complete-wrap {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 40px;
    margin-bottom: 60px;
}

@media (max-width: 767px) {
    .registration-complete-wrap {
        padding: 25px 20px;
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: #28a745;
}

.success-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.message-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.message-card {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border-radius: 10px;
    gap: 15px;
}

.email-card {
    background: linear-gradient(to right, #e8f0fe, #f0f4ff);
    border: 1px solid #d0e1fd;
}

.instructions-card {
    background: linear-gradient(to right, #f8f0ff, #fff0f8);
    border: 1px solid #f0d0fd;
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.email-card .card-icon {
    color: #0d6efd;
}

.instructions-card .card-icon {
    color: #6f42c1;
}

.card-content {
    flex: 1;
}

.card-content p {
    margin: 10px 0;
    color: #333;
}

.instructions-note {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 6px;
    margin-top: 10px;
}

.instructions-note p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

/* パスワードリセット */
.password-reset-wrap {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 40px 45px;
    margin-bottom: 60px;
}

@media (max-width: 767px) {
    .password-reset-wrap {
        padding: 25px 20px;
    }
}

.reset-instructions {
    text-align: center;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.password-reset-wrap .form-control {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 14px;
    width: 100%;
}

.password-reset-wrap .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.password-reset-wrap .back-to-login a {
    display: inline;
    background-repeat: no-repeat;
    background-position-y: 0px;
    background-image: linear-gradient(transparent calc(100% - 1px), currentColor 1px);
    transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    background-size: 0 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.password-reset-wrap .back-to-login:hover a {
    background-size: 100% 100%;
    transition-delay: 0.2s;
}

.alert-success {
    background-color: #f7f7f7;
    border-color: #f7f7f7;
    color: #0c7af0;
    font-size: .9rem;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-error {
    background-color: #f7f7f7;
    border-color: #f7f7f7;
    color: var(--bs-form-invalid-color);
    font-size: .9rem;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.membership-header-info {
    background-color: #fff;
    border-radius: 10px;
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); */
}

.membership-badge {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 4px;
    color: white;
}