/* backdrop & modal wrapper */
.wc-tnc-modal { position:fixed; inset:0; z-index:99999; display:flex; align-items:center; justify-content:center; }
.wc-tnc-backdrop { position:absolute; inset:0; background:rgba(13,18,20,0.55); backdrop-filter: blur(2px); }

/* dialog */
.wc-tnc-dialog {
  position:relative;
  z-index:2;
  background:#fff;
  padding:40px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  width: 990px;
  height: 485px;
  flex-shrink: 0;
  border-radius: 60px;
  background: #FFF;
}

/* close button - circular */
.wc-tnc-close {
  position:absolute;
  right:18px;
  top:14px;
	display: flex;
	width: 60px;
	height: 60px;
	padding: 17px 24px;
	justify-content: center;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	aspect-ratio: 1/1;
	border-radius: 32px;
	border: 1px solid #363635;	
}
.wc-tnc-close-inner { line-height:1; font-weight:600; }

/* heading */
.wc-tnc-heading {
color: #363635;
font-family: "Noto Sans";
font-size: 32px;
font-style: normal;
font-weight:700;
line-height: 44px; /* 137.5% */
letter-spacing: -0.14px;
text-transform: capitalize;	
}

/* iframe container */
.wc-tnc-content {
color:#363635;
font-family:"Noto Sans";
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 24px; /* 150% */
letter-spacing: 0.64px;
height: 300px
    overflow-y: scroll;
    overflow-x: hidden;	
	    margin-top: 20px;
}
.wc-tnc-iframe {
  width:100%;
  border: none;
  border-radius:12px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03);
}

/* footer area */
.wc-tnc-footer { margin-top:12px; display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.wc-tnc-note {
color: #000;
text-align: center;
font-family: Lato;
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: 24px; /* 150% */
letter-spacing: 0.2px;
    justify-content: center;
    align-items: center;
    width: 100%;	
}
.wc-tnc-note strong{
color: #30A67F;	
}


.wc-tnc-checkbox { flex:1 1 auto; display:flex; align-items:center; gap:10px; font-size:14px; color:#333; }
.wc-tnc-actions { display:flex; gap:10px; justify-content:flex-end; }

/* buttons */
.wc-tnc-btn { padding:10px 16px; border-radius:10px; border: none; cursor:pointer; font-weight:600; }
.wc-tnc-cancel { background:transparent; border:1px solid #d0d0d0; color:#111; }
.wc-tnc-agree { background:#0aa16b; color:#fff; }
.wc-tnc-agree[disabled], .wc-tnc-confirm[disabled] { opacity:0.5; cursor:not-allowed; }

/* responsive tweaks */
@media (max-width:700px){
  .wc-tnc-dialog { width:94%; padding:16px; border-radius:14px; }
  .wc-tnc-iframe { height: 52vh; }
  .wc-tnc-heading{ font-size:20px; }
}
