/* DELIVERY DETAIL AREA */
#delivery-info{
	margin: 0px auto 0;
	min-height: auto;	
	max-height: 70vh;
	width: 470px;
	overflow-y: auto;	
	-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;
	text-align: center;
}
#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:96.5%;
	font-family: font1;
	font-size: 16px;
	font-weight: bold;
	padding: 5px;
	border: 1px solid #BBB;
    background:#fff;
	border-radius: 5px;
}

select{
	width: 100%;
	font-family: font1;
	font-size: 16px;
	font-weight: bold;
	padding: 6px;
	border: 1px solid #BBB;
    background:#fff;
	border-radius: 5px;
}
select option{
	width: 100%;
	font-family: font1;
	font-size: 16px;
	padding: 6px;
}

.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); }
}

/* Mobile Styles (max-width: 767px) */
@media (max-width: 767px) {
  #delivery-info {
    width: 60vw !important; /* Responsive width */
    max-height: 70vh !important; /* More vertical space */
    margin: 0 auto 20px !important; /* Better spacing */
  }

  #delivery-info p.heading {
    font-size: 22px !important; /* Smaller heading */
    padding: 0 10px !important; /* Prevent text clipping */
  }

  #delivery-info table {
    width: 90% !important; /* More screen coverage */
    margin: 15px auto 30px !important; /* Reduced margins */
  }

  #delivery-info table tr td {
    display: block !important; /* Stack table cells */
    width: 100% !important; /* Full width */
    height: auto !important; /* Flexible height */
    margin-bottom: 15px !important; /* Spacing between fields */
  }

  #delivery-info table tr td:last-child {
    margin-bottom: 0 !important; /* Remove last spacing */
  }

  #delivery-info table tr td label,
  #delivery-info table tr td h4 {
    font-size: 15px !important; /* Better readability */
    margin: 5px 0 !important; /* Tighter spacing */
    display: block !important; /* Ensure full width */
  }
  #delivery-info table tr td label.errormsg{
	display: none !important;
  }

  #delivery-info table tr td input, #delivery-info table tr td select {
    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 {
    height: 50px !important; /* Larger touch targets */
    font-size: 17px !important; /* More readable text */
    margin: 15px 0 !important; /* Better spacing */
  }

  #parent_container {
    padding: 10px 5px !important; /* Optimized spacing */
  }
}