/*
 *  Document   : material_style.css
 *  Author     : Inquisitor
 *  Description: This style sheet is used for customize material design components.
 
 
 				[Table Of Content]
 				
 				1. MENU
 				2. TABLE
 				3. BADGES
*/
/**********************************
			1. MENU
**********************************/
.menuBackground {
  background: white;
  height: 148px;
  width: 100%;
}

.menuBar {
  box-sizing: border-box;
  background: #0080c0;
  color: white;
  width: 100%;
  height: 64px;
  padding: 16px;
}

/**********************************
			2. TABLE
**********************************/
.ml-table-striped > tbody > tr:nth-of-type(even) {
  background-color: #f9f9f9;
}
.mdl-data-table thead {
  background: #fafafa;
}
.mdl-data-table {
  width: 100% !important;
}
.ml-table-bordered > tbody > tr > td,
.ml-table-bordered > thead > tr > td {
  border: 1px solid #f0f0f0;
}

/**********************************
			3. BADGES
**********************************/
.badges .ml-card-holder .demo-badge-3[data-badge]:after {
  background-color: #9c27b0;
}

.mdl-badge .demo-badge-3[data-badge]:after {
  background-color: #9c27b0;
}

.mdl-cell.mdl-cell--3-col.mdl-cell--4-col-tablet {
  padding: 15px 10px 15px 20px;
}
.mdl-cell.mdl-cell--3-col.mdl-cell--4-col-tablet:hover {
  background: rgba(0, 0, 0, 0.05);
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.wrapper {
  box-sizing: border-box;
  position: absolute;
  right: 16px;
}

.mdl-tabs__tab {
  text-decoration: none !important;
}
.mdl-textfield__label:after {
  bottom: 20px !important;
}

.mdl-gridcell {
  background: #bdbdbd;
  padding: 30px 0;
  text-align: center;
  color: #424242;
  font-weight: bold;
  margin: 8px;
}
.mdl-foo {
  background: black;
  padding: 5px;
}
.txt-width {
  width: 100% !important;
  max-width: 500px !important;
}
.full-width {
  width: 100% !important;
}
.select-width {
  width: 100% !important;
  max-width: 300px !important;
}
.getmdl-select .mdl-icon-toggle__label {
  float: right;
  margin-top: -30px;
  color: rgba(0, 0, 0, 0.4);
}
.mdl-button--fab:focus {
  outline: none !important;
}
.mdl-button--icon:focus {
  outline: none !important;
}
.mdl-textfield__label {
  color: #747474;
  font-size: 13px !important;
}
.mdl-textfield__input {
  color: #191313 !important;
  font-size: 13px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}
.tab-left-side {
  justify-content: flex-start !important;
}
.tab-right-side {
  justify-content: flex-end !important;
}
.page-header.navbar .page-logo {
  line-height: 1.7 !important;
}
.txt-full-width {
  width: 100% !important;
}
.menuBar .mdl-button .material-icons {
  color: #ffffff;
}
.mdl-js-button {
  right: 10px;
}
.mdl-menu__item {
  font-size: 12px;
}
.mdl-menu__item .material-icons {
  padding-right: 10px;
  vertical-align: middle;
}
.mdl-cell {
  float: left;
}
#headerSettingButton {
  color: #ffffff;
}
.mdl-tabs__tab.tabs_three {
  width: calc(100% / 3);
}
.mdl-tabs__panel table tr:first-child th {
  border: 0;
}
.dtp .dtp-buttons {
  text-align: center !important;
}
.dtp-buttons button {
  margin-left: 10px;
}
/* select item fixed hight css */

.getmdl-select {
  outline: none;
}

.getmdl-select .mdl-textfield__input {
  cursor: pointer;
}

.getmdl-select .selected {
  background-color: #ddd;
}

.getmdl-select .mdl-icon-toggle__label {
  float: right;
  margin-top: -30px;
  color: rgba(0, 0, 0, 0.4);
  transform: rotate(0);
  transition: transform 0.3s;
}

.getmdl-select.is-focused .mdl-icon-toggle__label {
  color: #3f51b5;
  transform: rotate(180deg);
}

.getmdl-select .mdl-menu__container {
  width: 100% !important;
  margin-top: 2px;
}

.getmdl-select .mdl-menu__container .mdl-menu {
  width: 100%;
}

.getmdl-select .mdl-menu__container .mdl-menu .mdl-menu__item {
  font-size: 16px;
}

.getmdl-select__fix-height .mdl-menu__container .mdl-menu {
  overflow-y: auto;
  max-height: 288px !important;
}

.getmdl-select__fix-height .mdl-menu.mdl-menu--top-left {
  bottom: auto;
  top: 0;
}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
	cursor: not-allowed;
	background-color: #FBFBCE;
}

.float-right{
  float: right !important;
}
.float-none{
  float: none !important;
}
.select-height{
  height: 30px;
  border-radius: 4px !important;
}
.menucolor {
	background-color: #e1e5ec !important;
	border-right: 4px solid #4680ff;
}
.iconinput-pd{
    padding: 1px 5px !important;
}
.edit-img {
	height: 130px !important;
	position: absolute;
	width: 130px !important;
	background: #fff;
	overflow: hidden;
}

.custom-file-upload {
	display: inline-block;
	cursor: pointer;
}
.custom-file-upload input[type="file"] {
	display: none;
}
.edit-img img {
	border-radius: 50%;
	height: 130px !important;
	width: 130px !important;
}
.profile-img-wrap img {
	border-radius: 50%;
	height: 120px;
	width: 120px;
}
/* .dataTables_paginate{
  display: none;
} */
.fnt14{
  font-size: 14px !important;
}
.boxsize {
	float: right;
	width: 20px;
	height: 25px;
}
.mdl-button{
  width: 130px;
}
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
	display: flex;
}
/* Multiple upload files & images css start  */
.form__container {
  position: relative;
  width: 100%;
  height: 200px;
  border: 2px dashed silver;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: silver;
  margin-bottom: 5px;
  transition: background-color 0.3s ease;
}

.form.active {
  background-color: rgba(192, 192, 192, 0.2); /* Use RGB color values */
}

.form__file {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
  opacity: 0;
}

.form__files-container {
  display: flex;
  width: 100%;
  padding: 5px 0;
  justify-content: space-between;
  align-items: center;
}

.form__text {
  font-size: 15px;
  color: #333;
  max-width: 450px;
  white-space: nowrap; /* Fixed typo from 'whitespace' to 'white-space' */
  overflow: hidden;
  text-overflow: ellipsis;
}

.form__icon {
  font-size: 22px;
  color: #1871b5;
  text-decoration: none;
}

.file-upload-form {
  width: 500px;
  margin: 5% auto;

}

.modal-body {
    /* max-height: 70vh; */
  overflow-y: auto;
}
#upload-image-container {
  border: 2px dashed #ccc;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 20px;
}
#upload-image-container.active {
  border-color: #007bff;
  background-color: #f8f9fa;
}
#images-list-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.image-box {
  width: 150px;
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}
.image-box img {
  max-width: 100%;
  height: auto;
  margin-bottom: 5px;
}
.image-box .filename {
  font-size: 12px;
  word-break: break-all;
}
.image-box .actions {
  margin-top: 5px;
}
.image-box .actions a {
  margin: 0 5px;
  text-decoration: none;
}

.form__container:hover {
	border: 2px dashed #007bff !important;
}
.file-item{
  display: flex;
}
.file-name{
  width: 80%;
}
.file-actions{
  width: 20%;
  text-align: right;
}

/* Multiple upload files & images css end  */
.text-right{
  text-align: right !important;
}
.text-center{
  text-align: center !important;
}
.select2-container--bootstrap .select2-search__field::placeholder {
	color: #fff !important;
	opacity: 0;
}
.ht200{
  height: 200px !important;
}
.newtoggle {
  padding: 0px;
  position: absolute;
  z-index: 1010;
  width: 100%;
}
.ulbrdr {
  border: 1px solid #e3e3e3;
  padding: 5px !important;
  background: white;
}
.float-left {
  float: left !important;
}
.float-right {
  float: right !important;
}
.point {
  background-color: white !important;
  cursor: pointer !important;
}
.form-control::placeholder {
	color: var(--bs-secondary-color);
	opacity: 0.5 !important;
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: grey; /* Set the color of the icon background */
  border-radius: 50%; /* Optional: make it circular */
}

.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
  color: white; /* Adjust the arrow color inside the icon */
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: darkgrey; /* Change the background color on hover */
}


#my-qr-reader {
  padding: 20px !important;
  border: 1.5px solid #b2b2b2 !important;
  border-radius: 8px;
}

#my-qr-reader img[alt="Info icon"] {
  display: none;
}

#my-qr-reader img[alt="Camera based scan"] {
  width: 100px !important;
  height: 100px !important;
}

#html5-qrcode-anchor-scan-type-change {
  text-decoration: none !important;
  color: #1d9bf0;
}

video {
  width: 100% !important;
  border: 1px solid #b2b2b2 !important;
  border-radius: 0.25em;
}

    /* SPINNER CSSS */
      .spinner-container {
            text-align: center;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.2);
            width: 100%;
            max-width: 500px;
            box-sizing: border-box;
        }

 .wheel-container {
            position: relative;
            margin: 0 auto 20px;
            width: 100%;
            max-width: 400px;
            height: auto;
        }

        .wheel-svg {
            transition: transform 4s cubic-bezier(0.23, 1, 0.32, 1);
            filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
            width: 100%;
            height: auto;
            max-width: 400px;
            max-height: 400px;
        }

        .section-text {
            font-family: Arial, sans-serif;
            font-weight: bold;
            /* font-size: clamp(10px, 2.5vw, 14px); */
            fill: white;
            text-anchor: middle;
            dominant-baseline: middle;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        }

        .pointer {
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 20px solid transparent;
            border-right: 20px solid transparent;
            border-top: 40px solid #fff;
            z-index: 10;
            filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
        }

        .spin-btn {
            background: linear-gradient(45deg, #ff6b6b, #ee5a52);
            border: none;
            color: white;
            padding: 12px 24px;
            font-size: clamp(14px, 4vw, 18px);
            font-weight: bold;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 15px;
            touch-action: manipulation;
            min-height: 44px;
            width: 100%;
            max-width: 250px;
        }

        .spin-btn:hover {
            background: linear-gradient(45deg, #ee5a52, #ff6b6b);
            transform: translateY(-2px);
            box-shadow: 0 7px 20px rgba(255, 107, 107, 0.6);
        }

        .spin-btn:disabled {
            background: #666;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .result {
            margin-top: 15px;
            font-size: clamp(18px, 5vw, 24px);
            font-weight: bold;
            min-height: 50px;
            /* display: flex;
            align-items: center;
            justify-content: center; */
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            padding: 15px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
            word-break: break-word;
            hyphens: auto;
            text-align: center;
        }
  @media (min-width: 480px) {
              .spinner-container {
                padding: 30px;
            }
            
            .legend {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
        }

        @media (min-width: 768px) {
            .spinner-container {
                padding: 40px;
            }
            
           
            .wheel-container {
                margin: 0 auto 30px;
            }
            
            .result {
                margin-top: 20px;
                padding: 20px;
                min-height: 60px;
            }
            
            .legend {
                margin-top: 20px;
            }
        }

        /* Touch improvements */
        @media (hover: none) and (pointer: coarse) {
            .spin-btn:hover {
                background: linear-gradient(45deg, #ff6b6b, #ee5a52);
                transform: none;
                box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
            }
        }

        .celebrating {
            animation: celebrate 0.6s ease-in-out;
        }

        @keyframes celebrate {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

/* IMAGE & VIDEO PREVIEW */

         .image-preview img {
    max-width: 100%;
    max-height: 150px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .video-preview video {
    width: 100%;
    max-height: 250px;
    border-radius: 4px;
  }


  /* TASK SELECTION BUTTON */

        .games-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
            max-width: 100%;
            width: 100%;
        }

        .game-card {
            position: relative;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 25px 20px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            overflow: hidden;
            min-height: 180px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .game-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
        }

        .spin-card {
            background: linear-gradient(135deg, #ff9a9e 0%, #e58dc9 50%, #fad0c4 100%);
        }

        .quiz-card {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #b06ab3 100%);
        }

        .game-icon {
            font-size: 40px;
            margin-bottom: 5px;
            display: block;
            filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.2));
        }

        .game-title {
            font-size: 22px;
            font-weight: 800;
            margin-bottom: 10px;
            color: #fff;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            letter-spacing: -0.5px;
        }

        .game-description {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 20px;
            line-height: 1.4;
        }

        .game-btn {
            background: rgba(255, 255, 255, 0.25);
            border: 2px solid rgba(255, 255, 255, 0.3);
            color: #fff;
            padding: 10px 25px;
            border-radius: 25px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            text-decoration: none;
            display: inline-block;
        }

        .game-btn:hover {
            background: rgba(255, 255, 255, 0.35);
            border-color: rgba(255, 255, 255, 0.5);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }

        .game-btn:active {
            transform: translateY(0px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .glow-effect {
            position: absolute;
            top: -20px;
            left: -20px;
            right: -20px;
            bottom: -20px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
            opacity: 0.6;
            pointer-events: none;
            border-radius: 35px;
        }

        @media (max-width: 768px) {
            .games-container {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .game-card {
                padding: 20px 15px;
                min-height: 160px;
            }
            
            .game-title {
                font-size: 20px;
            }
            
            .game-icon {
                font-size: 35px;
            }

            .game-btn {
                padding: 8px 20px;
                font-size: 13px;
            }

            .game-description {
                font-size: 13px;
                margin-bottom: 15px;
            }
        }
        /* TASK SELECTION BUTTON END */

/* THANK YOU PAGE CSSS */
         /* Animated background particles */
        .particle {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            pointer-events: none;
            animation: float 6s ease-in-out infinite;
        }

        .particle:nth-child(1) { top: 20%; left: 20%; width: 60px; height: 60px; animation-delay: 0s; }
        .particle:nth-child(2) { top: 60%; left: 80%; width: 20px; height: 20px; animation-delay: 2s; }
        .particle:nth-child(3) { top: 80%; left: 40%; width: 40px; height: 40px; animation-delay: 4s; }
        .particle:nth-child(4) { top: 40%; left: 70%; width: 15px; height: 15px; animation-delay: 1s; }
        .particle:nth-child(5) { top: 10%; left: 60%; width: 25px; height: 25px; animation-delay: 3s; }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
            50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
        }

        /* Blast and Confetti Effects */
        .blast-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1000;
            overflow: hidden;
        }

        .confetti {
            position: absolute;
            width: 10px;
            height: 10px;
            pointer-events: none;
        }

        .confetti-1 { background: #ff6b6b; transform: rotate(45deg); }
        .confetti-2 { background: #4ecdc4; border-radius: 50%; }
        .confetti-3 { background: #ffe66d; }
        .confetti-4 { background: #a8e6cf; transform: rotate(30deg); }
        .confetti-5 { background: #ff8b94; border-radius: 50%; }
        .confetti-6 { background: #b4f2e1; }
        .confetti-7 { background: #c7ceea; transform: rotate(60deg); }
        .confetti-8 { background: #ffd93d; border-radius: 50%; }

        @keyframes confettiFall {
            0% {
                transform: translateY(-100vh) rotate(0deg);
                opacity: 1;
            }
            100% {
                transform: translateY(100vh) rotate(720deg);
                opacity: 0;
            }
        }

        /* Firework Effects */
        .firework {
            position: absolute;
            pointer-events: none;
        }

        .firework-spark {
            position: absolute;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            pointer-events: none;
        }

        @keyframes fireworkSpark {
            0% {
                transform: scale(1);
                opacity: 1;
            }
            100% {
                transform: scale(0);
                opacity: 0;
            }
        }

        /* Star Burst Effect */
        .star-burst {
            position: absolute;
            pointer-events: none;
            animation: starBurst 2s ease-out forwards;
        }

        @keyframes starBurst {
            0% {
                transform: scale(0) rotate(0deg);
                opacity: 1;
            }
            50% {
                transform: scale(1.5) rotate(180deg);
                opacity: 0.8;
            }
            100% {
                transform: scale(3) rotate(360deg);
                opacity: 0;
            }
        }

        /* Cracker Effect */
        .cracker {
            position: absolute;
            width: 20px;
            height: 20px;
            pointer-events: none;
        }

        .cracker::before {
            content: 'ðŸŽ‰';
            font-size: 20px;
            position: absolute;
            animation: crackerPop 1.5s ease-out forwards;
        }

        @keyframes crackerPop {
            0% {
                transform: scale(0) rotate(0deg);
                opacity: 1;
            }
            50% {
                transform: scale(1.2) rotate(180deg);
                opacity: 1;
            }
            100% {
                transform: scale(0.8) rotate(360deg);
                opacity: 0;
            }
        }

        /* Celebration Ribbons */
        .ribbon {
            position: absolute;
            width: 6px;
            height: 40px;
            pointer-events: none;
            animation: ribbonFall 3s ease-in forwards;
        }

        .ribbon-1 { background: linear-gradient(45deg, #ff6b6b, #ff8e53); }
        .ribbon-2 { background: linear-gradient(45deg, #4ecdc4, #44a08d); }
        .ribbon-3 { background: linear-gradient(45deg, #ffe66d, #ffb347); }
        .ribbon-4 { background: linear-gradient(45deg, #a8e6cf, #88d8a3); }

        @keyframes ribbonFall {
            0% {
                transform: translateY(-100vh) rotate(0deg);
                opacity: 1;
            }
            100% {
                transform: translateY(100vh) rotate(1080deg);
                opacity: 0;
            }
        }

        /* Pulsing Glow Effect */
        .glow-pulse {
            position: absolute;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
            pointer-events: none;
            animation: glowPulse 2s ease-in-out infinite;
        }

        @keyframes glowPulse {
            0%, 100% {
                transform: scale(0.8);
                opacity: 0.3;
            }
            50% {
                transform: scale(1.5);
                opacity: 0.1;
            }
        }

        .thank-you-container {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 25px;
            padding: 3rem 2.5rem;
            /* max-width: 500px;
            width: 90%; */
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
            text-align: center;
            position: relative;
            border: 1px solid rgba(255, 255, 255, 0.2);
            animation: slideIn 0.8s ease-out;
            overflow: hidden;
        }

        .thank-you-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            animation: shine 2s ease-in-out 0.5s;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(30px) scale(0.9);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @keyframes shine {
            0% { left: -100%; }
            100% { left: 100%; }
        }

        .card-header-thank {
            margin-bottom: 2rem;
            animation: fadeInDown 1s ease-out 0.3s both;
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .success-icon {
            margin-bottom: 1.5rem;
            position: relative;
        }

        .checkmark {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #4CAF50, #45a049);
            color: white;
            border-radius: 50%;
            font-size: 2.5rem;
            font-weight: bold;
            animation: bounceIn 1s ease-out 0.5s both;
            box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
            position: relative;
        }

        .checkmark::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100px;
            height: 100px;
            border: 3px solid #4CAF50;
            border-radius: 50%;
            transform: translate(-50%, -50%) scale(0);
            animation: ripple 1.5s ease-out 0.8s;
        }

        @keyframes bounceIn {
            0% {
                opacity: 0;
                transform: scale(0.3);
            }
            50% {
                opacity: 1;
                transform: scale(1.1);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes ripple {
            to {
                transform: translate(-50%, -50%) scale(1);
                opacity: 0;
            }
        }

          @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .message {
            background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
            border-left: 4px solid #667eea;
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
            animation: slideInLeft 1s ease-out 0.9s both;
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .message p {
            color: #4a5568;
            font-style: italic;
            margin: 0;
            font-size: 1rem;
        }


        
        .button-container {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 2rem;
        }

        .thankbtn {
            padding: 15px 30px;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            min-width: 160px;
            animation: fadeInScale 0.6s ease-out calc(1.2s + var(--delay)) both;
        }

        .thankbtn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.3s ease;
        }

        .thankbtn:hover::before {
            width: 300px;
            height: 300px;
        }

        .thankbtn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
        }

        .thankbtn:active {
            transform: translateY(-1px);
        }

        .thankbtn-danger {
            background: linear-gradient(135deg, #ff6b6b, #ee5a52);
            color: white;
            box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
            --delay: 0s;
        }

        .thankbtn-info {
            background: linear-gradient(135deg, #4ecdc4, #44a08d);
            color: white;
            box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
            --delay: 0.2s;
        }

 @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.8);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

         /* Responsive design */
        @media (max-width: 600px) {
            .thank-you-container {
                padding: 2rem 1.5rem;
                margin: 1rem;
            }
            
          
            .checkmark {
                width: 60px;
                height: 60px;
                font-size: 2rem;
            }
            
            .button-container {
                flex-direction: column;
                align-items: center;
            }
            
            .btn {
                width: 100%;
                max-width: 250px;
            }
        }

        /* Hover effects for the container */
        .thank-you-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 35px 60px rgba(0, 0, 0, 0.2);
        }

       /* THANK YOU PAGE CSSS END */
@media only screen and (max-width: 468px) {
       #my_camera video {
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
}
#my_camera {
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
}
}

.offduty, .onduty {
	text-align: center;
}

.tabletop{
  background-color: #dc3545 !important; 
  color: white !important;
}
.tablesectop {
  background-color: #f8d7da !important; 
  color: #dc3545 !important;
}
.tabletotaltop{
  text-align:center !important; 
  background-color: #ffe6e6 !important;
}



#sigPad{
  display:block;

  background:#fff;
  border:2px solid #cbd5e1;
}
/* Wrap (optional) */
.sig-wrap{width:100%;}

/* Make the canvas fill the container width and adjust height per device */

/* Tablet (≥576px) */
@media (min-width:576px){
  #sigPad{ height:220px; }
}

/* Desktop (≥992px) */
@media (min-width:992px){
  #sigPad{ height:240px; }
}


