.alert-danger {
	--vz-alert-color: red !important;
	--vz-alert-bg: white !important;
	--vz-alert-border-color: white !important;
	--vz-alert-link-color: white !important;
}

.alert {
	--vz-alert-bg: transparent !important;
	--vz-alert-padding-x: 0.1rem !important;
	--vz-alert-padding-y: 0.1rem !important;
	--vz-alert-margin-bottom: 0rem !important;
}

.auth-bg-cover > .bg-overlay {
  background-image:none !important;
}

label {
	font-weight: 500 !important;
}

@keyframes darkMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.auth-bg-cover {
  background:#1f0d4d;
  background-size: 300% 300%;
  animation: darkMove 15s ease-in-out infinite;
  color: white;
  padding: 0rem;
  box-shadow: 0 0 40px rgba(31, 13, 77, 0.6);
 font-family: 'Roboto', sans-serif !important;

}

.auth-page-wrapper .auth-page-content {
	padding-bottom:0px !important;
}

.image-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
}



.login-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(197, 146, 50, 0.1); /* Warm gold overlay (#c59232) */ 
    transition: background-color 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.login-bg:hover::before {
    background-color:  rgba(27, 16, 74, 0.5); /* Dark indigo overlay (#1b104a) */
    height:100%;
    transform: scale(1.05); /* Slight zoom effect */
}

body {
  font-size: 0.840rem !important;
}

th{
	font-size: 0.8rem !important;
	font-weight:500 !important;
}

td{
	font-size: 0.82rem !important;
}


.custom-dropzone {
    height: 10rem;
    background-color: #eff2f7;
    transition: background-color 0.3s;
    border: 0.1px solid #ced4da; 
    border-radius: 2px;
  }

  .custom-dropzone:hover {
    background-color: #d9ecff;
  }

  .custom-dropzone i {
    pointer-events: none;
  }

.custom-text{
	color:#1f0d4d;
	font-weight: 500 !important;
}

/*====================== page header ==========================*/

#page-topbar {
  background-color:#f7f7ff !important;
  border-bottom: none !important;
}

/*====================== font family ==========================*/

body {
  font-family: 'Roboto', sans-serif !important;
  background-color: #f7f7ff !important;
}

:is(.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6) {
  font-family: 'Roboto', sans-serif !important;
}

.btn{
 font-family: 'Roboto', sans-serif !important;
}

.navbar-menu .navbar-nav .nav-link{
	 font-family: 'Roboto', sans-serif !important;
}

/*====================== footer ==========================*/

.footer {
  color:black !important;
  height: 55px !important;
  background-color: #e3e2e6 !important;
}

/*====================== side nav bar ==========================*/

.navbar-menu {
  border-right:none !important;
}

.header-item {
  height: 40px !important;
/*   margin-top:15px !important; */
}

.navbar-header {
  height: 80px !important;
}

#page-topbar.topbar-shadow {
  -webkit-box-shadow: 0 3px 3px rgba(56, 65, 74, 0.1);
  box-shadow:none !important;
}

.navbar-menu .navbar-nav .menu-link:hover{
	color:#c8b584;
}

.page-title-box {
  padding: 10px 2rem;
  background-color:#f7f7ff !important;
  -webkit-box-shadow: var(--vz-page-title-box-shadow);
  box-shadow: none !important;
  border-bottom: none !important;
  margin: -13px -1.5rem 1.5rem -1.5rem;
}

/* Adjust padding for flag */
.iti {
  width: 100%;
}
.iti input {
  padding-left: 56px !important;
}

/* For proper label floating position */
.form-floating > .iti input ~ label {
  padding-left: 56px !important;
}

input[required] {
  background-color: #f4e8d294;
 display: block;
}

.form-floating > label.required::before {
    content: none !important;
}

.form-floating > label.required::after {
    content: ' *' !important;
    color: red;
    position: static !important;  /* prevent from floating left */
    display: inline;               /* keep in flow */
    margin-left: 2px;              /* small space */
}

.bg-marketplace {
  background-image: url(/assets/images/nft/marketplace-33b9b88f8a20c367d2717252e50f62e3.png);
  background-size: cover;
  background-color: #eedeb54a;
}

.form-control{
	background-color: #fff6e694 !important;
}

.form-select{
	background-color: #fff6e694 !important;
}

.header-profile-user {
  height: 40px !important;
  width: 40px !important;
}


.btn-light-blue-color {
  --vz-btn-bg: #ffffff;
  --vz-btn-border-color: #ffffff;
  --vz-btn-hover-bg: #ffffff;
  --vz-btn-hover-border-color: #ffffff;
  --vz-btn-focus-shadow-rgb: #ffffff;
  --vz-btn-active-bg: #ffffff;
  --vz-btn-active-border-color: #ffffff;
}
.navbar-header .user-name-text {
  color: #1b2126 !important;
  font-weight:600 !important
}

.header-button{
	height:55px !important; 
	width:150px !important;
}

@media only screen and (max-width: 640px) {
    .header-button {
        height: 40px !important;
        width: 60px !important;
    }
    .header-profile-user {
	  height: 32px !important;
	  width: 32px !important;
	  margin-top:-4.5px !important;
	}
}
.theme-first-text-color{
	color:#1b104a!important;
}

.theme-second-text-color{
	color:#c5933a !important;
}
.select2-container--default .select2-selection--multiple {
  background-color: #fffaf0 !important;
  border: 1px solid #aaa;
  border-radius: 4px;
  cursor: text;
  padding-bottom: 5px;
  padding-right: 5px;
  position: relative;
}
.select2-container .select2-selection--multiple {
  min-height: 58px !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
  margin-top:10px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color:#4b38b3 !important;
  border: 1px solid #4b38b3 !important;
  margin-top: 27px !important;
  
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #ffffff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: #ffffff !important;
  background-color:#4b38b3 !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #ffffff !important;
  color: black !important;
  border-radius:4px !important;
  padding:10px 10px !Important;
  
}

.btn-dark-yellow-color{
  --vz-btn-color:white;
  --vz-btn-bg: #cc9004;
  --vz-btn-border-color: #cc9004;
  --vz-btn-hover-bg: transparent;
  --vz-btn-hover-border-color: #cc9004;
  --vz-btn-focus-shadow-rgb: #cc9004;
  --vz-btn-active-bg: #cc9004;
  --vz-btn-active-border-color: #cc9004;
    font-size:15px !important;
    font-weight:600;
}



.btn-light-yellow-color{
  --vz-btn-color: #c5933a;
  --vz-btn-bg: transparent;
  --vz-btn-border-color: #c5933a;
  --vz-btn-hover-bg: #c5933a;
  --vz-btn-hover-border-color: #c5933a;
  --vz-btn-focus-shadow-rgb: #c5933a;
  --vz-btn-active-bg: #c5933a;
  --vz-btn-active-border-color: #c5933a;
  font-size:15px !important;
  font-weight:600;
}

.btn-light-navy-color{
  --vz-btn-color: #786bad;
  --vz-btn-bg: transparent;
  --vz-btn-border-color: #786bad;
  --vz-btn-hover-bg: #786bad;
  --vz-btn-hover-border-color: #786bad;
  --vz-btn-focus-shadow-rgb: #786bad;
  --vz-btn-active-bg: #786bad;
  --vz-btn-active-border-color: #786bad;
  font-size:15px !important;
  font-weight:600;
}

.btn-light-red-color{
  --vz-btn-color: red;
  --vz-btn-bg: transparent;
  --vz-btn-border-color: red;
  --vz-btn-hover-bg: red;
  --vz-btn-hover-border-color: red;
  --vz-btn-focus-shadow-rgb: red;
  --vz-btn-active-bg: red;
  --vz-btn-active-border-color: red;
  font-size:15px !important;
  font-weight:600;
}

.btn-light-green-color{
  --vz-btn-color: #1cb5a0;
  --vz-btn-bg: transparent;
  --vz-btn-border-color: #1cb5a0;
  --vz-btn-hover-bg: #1cb5a0;
  --vz-btn-hover-border-color: #1cb5a0;
  --vz-btn-focus-shadow-rgb: #1cb5a0;
  --vz-btn-active-bg: #1cb5a0;
  --vz-btn-active-border-color: #1cb5a0;
  font-size:15px !important;
  font-weight:600;
}

.btn-light-green-color:hover{
	color:white !important;
}

.btn-light-red-color:hover{
	color:white !important;
}

.btn-light-navy-color:hover{
	color:white !important;
}

.btn-light-yellow-color:hover{
	color:white !important;
}

.custom-alert-danger {
	border: 1px solid #f5b7b7; 
    border-left: 5px solid #f5b7b7; /* red border */
    background-color: #fee6e6; /* light red background */
    padding: 0.75rem 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.custom-alert-success{
	border: 1px solid #b5eace; 
    border-left: 5px solid #b5eace; 
    background-color: #e3f7ed;
    padding: 0.75rem 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.institute-image-card-view {
    max-height: 120px;
    width: 70%;
}
.count-label {
    font-size: 15px;
}

.count-value {
    font-size: 18px;
    font-weight: bold;
}


@media (max-width: 767.98px) {
    .remove-border-mobile {
        border-right: none !important;
    }
    .institute-image-card-view{
       max-height:80% !important;
       width: 100% !important;
       margin:0px !important
    }
    .counts-mobile-row {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: space-between;
    }
     .count-label {
        font-size: 13px;
    }

    .count-value {
        font-size: 15px;
    }
}

.attachment-wrapper {
        position: relative;
        display: inline-block;
        margin-right: 2px;
    }

    .main-icon {
        display: inline-flex;
        align-items: center;
        font-size: 48px; /* Big main icon */
        cursor: pointer;
        transition: opacity 0.3s ease;
    }

    .overlay-icons {
        position: absolute;
        top: 40px;
        display: none;
        flex-direction:row; /* HORIZONTAL */
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid #ccc;
        border-radius: 20px;
        padding: 2px 2px;
        box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
        z-index: 10;
    }

    .overlay-icons a {
        color: #333;
        margin: 0 2px;
        font-size: 14px;
        transition: color 0.2s ease;
    }

    .overlay-icons a:hover {
        color: #007bff;
    }

    .attachment-wrapper:hover .overlay-icons {
        display: flex;
    }
    
.truncate-textline {
  display: block;     /* or block if needed */
  max-width: 170px;          /* adjust width as needed */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.btn-primary {
  --vz-btn-bg: #1f0d4d !important;
  --vz-btn-border-color: #1f0d4d !important;
  --vz-btn-hover-bg: #270b6e !important;
  --vz-btn-hover-border-color: #270b6e !important;
  --vz-btn-focus-shadow-rgb: #270b6e !important;
  --vz-btn-active-bg: #270b6e !important;
  --vz-btn-active-border-color: #270b6e !important;
}

 .underline-hover:hover {
        text-decoration: underline;
}

.truncate-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.login-page-card-style{
	background-color: #1f0d4d !important; 
	height: 897px !important; 
	border-radius: 0px !important; 
	margin: 0px !important; 
	padding: 0px !important
	
}
.login-page-card-body-style{
background-color: #1f0d4d !important; 
border-radius: 0px !important; 
margin: 0px !important; padding: 
0px !important
}

.img-aspect-ratio {
   aspect-ratio: 16 / 9;
   width: 100%;
}

.img-ratio{
	width: 100%; 
	height: 100%; 
	object-fit: cover; 
	border-radius: 4px; 
}

.video-container {
     position: relative;
     width: 100%;
     padding-bottom: 56.25%; /* 16:9 ratio */
     height: 0;
     overflow: hidden;
 }

 .video-container iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
}

@media (max-width: 991.98px) {
  .login-bg-section {
    width: 100%;
    height: 100vh;
    position: relative;
  }
	.login-form-overlay {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		z-index: 10;
		background-color: rgba(255, 255, 255, 0.95);
		/* optional: transparent white background */
		padding: 20px;
		border-radius: 10px;
		width: 90%;
		max-width: 400px;
	}
}

.attachment-wrapper {
    position: relative;
    display: inline-block;
    margin-right: 20px;
    width: 60px;
    height: 60px;
}

.main-icon {
    width: 100%;
    height: 100%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    background-color: #f8f9fa; /* Optional */
    border-radius: 6px;
}

.overlay-icons {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    flex-direction: row;
    background: rgba(255, 255, 255, 0.95);
    padding: 3px;
    border-radius: 8px;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.15);
    z-index: 10;
    gap: 6px;
    min-width: max-content;
}

.attachment-wrapper:hover .overlay-icons {
    display: flex;
}

.overlay-icons i {
    font-size: 16px;
    color: #333;
    transition: color 0.2s ease;
}

.overlay-icons i:hover {
    color: #0d6efd;
}
.accordion-success .accordion-item .accordion-button:not(.collapsed) {
  color: #38403C !important;
  background-color: rgba(172, 179, 175, 0.16) !important;
}

.accordion-success .accordion-item {
  border-color: rgba(183, 183, 183, 0.37) !important;
}

.accordion-success .accordion-item .accordion-button::after {
  color: #616A65 !important;
}

@keyframes toastSlide {
    from { width: 100%; }
    to { width: 0%; }
  }

  .animate-progress {
    animation: toastSlide 2.5s linear forwards; /* Match delay */
  }

  .toast-body {
    font-weight: 500;
    color: #1f0d4d;
  }

  
  .emoji-shake {
    display: inline-block;
    font-size: 40px;
    animation: shake 0.5s;
    animation-iteration-count: 2;
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}