.restock-btn {
	background-color: #888;       /* 灰色背景 */
	color: #fff;                  /* 白文字 */
	border: none;
	border-radius: 4px;           /* ボタンの角を丸く */
	padding: 8px 12px;
	cursor: pointer;
	font-family: inherit;
	text-align: center;
	line-height: 1.2;
}

.restock-btn .line-1 {
	font-size: 14px;
	font-weight: bold;
	display: block;
}

.restock-btn .line-2 {
	font-size: 12px;
	text-decoration: underline;
	display: block;
}

.restock-popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 9999;
}

.restock-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 9998;
}

.popup-close {
	cursor: pointer;
	margin-left: 10px;
}

.popup-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgb(0 0 0 / 80%);
}

.popup-content {
	position: relative;
	margin: 5% auto;
	background: #fff;
	padding: 20px;
	border-radius: 8px;
	width: 90%;
	max-width: 450px;
	z-index: 10000;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	text-align: left;
	color: black;
	font-weight: normal;
}

.popup-content-title {
	font-weight: bold;
}

.title-size {
	font-size: 1.2em;
    padding-bottom: 5px;
}

.restock-product-box {
	background-color: #f0f0f0; /* グレー背景 */
	color: #000;               /* 黒文字 */
	padding: 12px;
	margin: 15px 0;
	border-radius: 4px;
	font-size: 14px;
}

.restock-form {
	width: 100%;
}

.form-group {
	margin-bottom: 10px;
}

.main-label {
	display: flex;
	align-items: center;
	font-weight: bold;
	font-size: 14px;
	margin-bottom: 2px;
}

.label-required {
	display: inline-block;
	background-color: red;
	color: #fff;
	font-size: 12px;
	border-radius: 4px;
	padding: 2px 6px;
	margin-left: 8px;
}

.input-hint {
	display: block;
	font-size: 12px;
	color: #666;
	margin-bottom: 6px;
	margin-left: 2px;
}

.form-group input[type="email"],
.form-group input[type="text"] {
	width: 100%;
	padding: 8px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.text-area-policy {
	width: 100%;
	resize: vertical;
	min-height: 120px;
	max-height: 220px;
}

.policy-check-wrap {
	display: flex;
	justify-content: center;
	margin-top: 0.5em;
}

.policy-check {
	display: flex;
	align-items: center;
	gap: 8px;
}

.form-actions {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 0.5em;
}

/* 再入荷通知リスト管理 */
.wccusrn_list table.ui.celled.table {
  border-collapse: collapse;
  width: 100%;
}

.wccusrn_list table.ui.celled.table th,
.wccusrn_list table.ui.celled.table td {
  border: 1px solid #ddd !important; 
  padding: 8px;
}

.wccusrn_list table.ui.celled.table th {
  	height: 30px;
	padding: 0 5px;
	background: url(../images/th_bg2.gif) repeat-x bottom;
	font-size: 13px;
	line-height: 18px;
	text-decoration: none;
	white-space: nowrap;
}

#wpbody-content div.notice,
#wpbody-content div.error,
#wpbody-content div.warning {
  margin-left: 0;
}

.wccusrn_list .table-switcher {
  text-align: right;
  margin-bottom: 10px;
}

.wccusrn_list .tab-link {
  text-align: left;
}

.wccusrn_list .table-switcher > .search {
  margin-right: auto;
}

.tab-right {
	float: right;
}

.wccusrn_list {
  padding-right: 20px;
}

.wccusrn_list > h1 {
  margin: 1em 0;
}

@media only screen and (max-width: 767.98px) {
  .wccusrn_list .ui.unstackable.items > .item > .image {
    max-width: 80px;
    width: 100% !important;
  }
}

.wccusrn_list .ui.items > .item > .image > img {
  max-width: 80px;
  width: 100% !important;
}

.wccusrn_list .ui.pagination.menu {
  padding-top: 0;
}

.wccusrn_list .pagination-wrapper {
  display: flex;
  justify-content: center;
}

#usces_action_status.error {
  margin: 20px 20px 20px 0;
}

.wccusrn_list .header {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}

.product-title .vcenter {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.wccusrn_list .grid .product-title {
  background-color: #dddddd;
  font-weight: bold;
  align-items: center;
  justify-content: center;
  height: 84px;
}

.wccusrn_list .grid {
  background-color: #ffffff;
}

.wccusrn_list .memlist-section {
  margin-top: 20px;
}

.wccusrn_list .memlist-section .header {
  margin-bottom: 4px;
}

.wccusrn_list .table-container {
  margin-top: 10px;
}

.wccusrn_list .ui.table {
  margin-top: 6px;
}

button.ui.mini.inverted.red.icon.button {
  width: 30px;
  height: 30px;
  padding: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

button.ui.mini.inverted.red.icon.button i.delete.icon {
  width: 30px;
  height: 30px;
  background: url('../images/red-icon.png') no-repeat center center;
  background-size: contain;
  text-indent: -9999px;
  overflow: hidden;
  display: inline-block;
}

i.switch.icon {
  width: 20px;
  height: 20px;
  background: url('../images/switch-icon.png') no-repeat center center;
  background-size: contain;
  text-indent: -9999px;
  overflow: hidden;
  display: inline-block;
  vertical-align: top;
}

.product-info-cell {
	display: flex;
	align-items: center;
}

.product-thumb {
	width: 50px;
	height: auto;
	margin-right: 10px;
}

.product-text {
	display: flex;
	flex-direction: column;
	padding-left: 35px;
}

.product-name {
	font-weight: bold;
}

.product-code {
	font-size: 12px;
	color: #666;
}

/* メンバー */

.ui.grid {
    margin: 0;
    width: 100%;
}

.product-title {
    background-color: #e0e0e0;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    color: #333;
    width: 300px;
    display: inline-block;
    vertical-align: top;
}

.product-desc {
    background-color: #fff;
    padding: 10px;
    width: 50%;
    display: inline-block;
    vertical-align: top;
}

.ui.items .item {
    display: flex;
    align-items: center;
}

.ui.small.image img {
    width: 80px;
    height: 80px;
    margin-right: 10px;
}

.ui.items .content a {
    color: #2185d0;
    text-decoration: none;
}

.ui.items .content a:hover {
    text-decoration: underline;
}

.product-code {
    color: #666;
    font-size: 0.9em;
}

.back-restock-top {
	margin-bottom: 20px;
}

i.back.icon {
  width: 12px;
  height: 12px;
  background: url('../images/back-icon.png') no-repeat center center;
  background-size: contain;
  text-indent: -9999px;
  overflow: hidden;
  display: inline-block;
}

.policy-label {
	width: 112px !important;
}

.restock-global-setting {
	margin-top: 30px;
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 0;
}
#restock-global-loading {
	display: none;
	width: 20px;
	height: 20px;
}
