@media print {
  @page {
	size: A4; /* Specify A4 size */
	margin: 10mm; /* Define margins */
  }
  body {
	margin: 0;
	padding: 0;
  }

  body * {
	visibility: hidden;
  }
  
  #page0 {
	display: none !important;
  }
  .idr-hidden {
	display: none !important;
  }
  #myForm, #myForm * {
	visibility: visible;
  }

  #myForm {
	margin: 0;
	border: none;
	width: 100%;
  }
}

input[type="radio"].mandatory-highlight {
    outline: 2px solid red !important;
    outline-offset: 0px;
    animation: blink-outline 1s infinite alternate;
}

@keyframes blink-outline {
    0% { outline-color: red; }
    100% { outline-color: transparent; }
}

.signaturebox {
	z-index:10 !important;
}

.fake-alert-input {
        border: 2px solid red;
        color: red;
        width: 200px;
        margin-top: 4px;
    }
	
.uppercase {
    text-transform: uppercase;
}
.signature-box {
	display: block;
	width: 100%;
	height: 100%;
}

.sign-link {
	position: absolute;
	bottom: 0px;
	right: 34px;
	cursor: pointer;
	color: blue;
	text-decoration: none;
	font-size: 10px;
	background: rgba(255, 255, 255, 0.8);
	padding: 2px 5px;
	border-radius: 4px;
	font-weight:bold;
}
.sign-link:hover {
	text-decoration: underline;
}
.clear-link {
	position: absolute;
	bottom: 0px;
	right: 0px;
	cursor: pointer;
	color: blue;
	text-decoration: none;
	font-size: 10px;
	background: rgba(255, 255, 255, 0.8);
	padding: 2px 5px;
	border-radius: 4px;
	font-weight:bold;
}
.clear-link:hover {
	text-decoration: underline;
}
#linkPrint {
	float:left;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
	padding-right:8px;
	display:none;
}
#linkAttach {
	float:left;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
	display:none;
}
#page0 {
  display: block;
  overflow: hidden;
  background-color: #191f2f;
  position: fixed;
  bottom: 0px; /* ✅ Use bottom instead of top */
  left: 50%;
  transform: translate(-50%, 0); /* ✅ Remove vertical centering */
  z-index: 999;
  width: 935px;
  
  text-align: center;
  padding-bottom: 10px;
}


.powered-by {
        position: absolute;
        bottom: -3px;
        right: 80px;
        font-size: 10px; /* Adjust size */
        color: gray;
        background: transparent;
        text-align: center;
        padding: 5px 10px;
        display: inline-block;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .powered-by .cursive {
        font-family: 'Brush Script MT', cursive;
        font-weight: normal;
    }

    .powered-by .straight {
        font-family: Arial, sans-serif;
        font-weight: bold;
    }

    .powered-by:hover {
        transform: scale(1.05);
        color: #00aaff;
    }
	
	
	input, select, textarea {
            background-color: #ebf5fb !important; /* Default background color */
            border: 1px solid #ccc !important;
            transition: background-color 0.3s ease !important; /* Smooth transition for hover effect */
        }

        input:hover, select:hover, textarea:hover {
            background-color: transparent !important; /* Remove the background color on hover */
        }
		
		.nobg {
			background-color: transparent !important;
		}
		
		
		
/* active color classes */
.active-yellow { background-color: #fff89a; }
.active-green { background-color: #b8ffb5; }
.active-blue { background-color: #b5e3ff; }



/* Hide the default checkbox */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #000;
  border-radius: 4px;
  background-color: black;
  cursor: pointer;
  position: relative;
}

/* White checkmark when checked */
input[type="checkbox"]:checked::after {
  content: "✔";
  position: absolute;
  color: black;
  font-size: 16px;
  top: -2px;
  left: 2px;
}
