/* DELIVERY DETAIL AREA */
#delivery-info{
	margin: 0px auto 0;
	min-height: auto;	
	max-height: 70vh;	
	width: 470px;
	overflow-y: scroll;	
	-ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
	background-color:#fff;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;  
}
#delivery-info p.heading{
	font-family: font1;
	font-size: 28px;
	letter-spacing:0px;
}
#delivery-info table{
	margin: 30px 60px 60px 60px;	
	height:auto;	
	width: 76% !important;
	padding: 0px;
}
#delivery-info table tr td{	
	width: 33%;
	padding: 0px;
	height: 2px;
}
#delivery-info table tr td label {
	font-family: font1;
	font-size: 14px;
	letter-spacing:0px;	
	margin-top:-10px;
	margin-bottom:10px; 
}
#delivery-info table tr td label.errormsg {
	display: none;
	font-family: font1;
	font-size: 14px;
	letter-spacing:0px;	
	margin-top:-10px;
	margin-bottom:10px; 
	color: #c00707;
}

#delivery-info table tr td h4 {
	font-family: font3;
	font-size: 18px;
	letter-spacing:0px;	
	margin-top:-5px;
	margin-bottom:20px; 
}

/* DELIVERY DETAIL AREA */
input{
	width:93.5%;
	font-family: font1;
	font-size: 16px;
	font-weight: bold;
	padding: 10px;
	border: 1px solid #BBB;
    background:#fff;
	border-radius: 5px;
}


.signin {
	margin: 10px 0px 10px 0px;
	width: 100%;
	font-family: font5;
	font-size: 16px;
	border: 1px solid #333;
	height:45px;
	color:#FFF;
	background:#333;
	border-radius: 7px;
	letter-spacing: 0px;
}
.signin:hover {	
	color:#FFF; 
	background-color: #666;
}

.signup {
	margin: 10px 0px 10px 0px;
	width: 100%;
	font-family: font5;
	font-size: 16px;
	height:45px;
	color:#000;
	border: 1px solid #5a5a5a;
	background:#fff;
	border-radius: 7px;
	letter-spacing: 0px;
}
.signup:hover {	
	color:#000; 
	border: 1px solid #666;
	background-color: #f1f1f1;
}
#parent_container {
    display: block;
    justify-content: center;
    align-items: center;
    height: auto;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 7px;
}

#parent_container .spinner {
	display: inline-block;
	width: 36px;
	height: 36px;
	border: 2px solid #000;
	border-radius: 50%;
	border-top-color: transparent;
	animation: spin 0.8s linear infinite;
	margin-right: 8px;
	vertical-align: middle;
}
@keyframes spin {
	to { transform: rotate(360deg); }
}

@media only screen and (max-width: 767px) {
  /* DELIVERY DETAIL AREA */
  #delivery-info {
    width: 60vw !important; /* Fluid width for small screens */
    max-height: 53vh; /* Increased height allowance */
    margin: 0 auto 20px;
	box-sizing: border-box;
  }

  #delivery-info p.heading {
    font-size: 24px; /* Reduced heading size */
  }

  #delivery-info table {
    margin: 20px 5% !important; /* Reduced margins */
    width: 90% !important; /* Wider table on small screens */
  }

  #delivery-info table tr td {
    display: block; /* Stack table cells vertically */
    width: 100% !important;
    margin-bottom: 15px;
	height: auto !important;
  }

  #delivery-info table tr td h4,
  #delivery-info table tr td label {
    margin: 5px 0; /* Adjusted spacing */
    font-size: 16px; /* Smaller font size */
  }

  #delivery-info table tr td input {
    width: 100% !important; /* Full-width inputs */
	height: 40px !important;
    box-sizing: border-box !important; /* Include padding in width */
    font-size: 14px !important; /* Smaller text in inputs */
  }

  #delivery-info table tr td .signin,
  #delivery-info table tr td .signup {
    padding: 12px; /* Better touch target */
    font-size: 15px; /* Slightly smaller text */
  }
}