/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/
:root {
  --cnvs-themecolor: #0a3c3f;
  --cnvs-themecolor-rgb: 10, 60, 63;
}

.grid-border [class^='col-']:hover {
  background-color: #fff;
}
.heading-block::after {
  content: '';
  display: none;
  margin-top: 30px;
  width: var(--cnvs-title-block-border-size);
  border-top: var(--cnvs-heading-block-border);
}
.message-error {
  color: red;
  font-weight: 500;
}
.message-ok {
  color: limegreen;
  font-weight: 500;
}
#submessage {
  visibility: hidden;
  transition: all 0.5s ease;
  margin-top: 10px;
  padding: 5px 10px;
}
.subscription-success {
  animation: fadeInOut 0.5s ease-in-out;
  background-color: rgba(50, 205, 50, 0.1);
  border-left: 3px solid limegreen;
}
@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}
#contactmessage {
  color: green;
  visibility: hidden;
}
#qrAfip {
  height: 48px;
}

iframe {
  height: 240px;
}

/* Loader styles for iframe */
.iframe-container {
  position: relative;
  min-height: 240px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 5px solid rgba(10, 60, 63, 0.2);
  border-radius: 50%;
  border-top-color: var(--cnvs-themecolor);
  animation: spin 1s linear infinite;
  z-index: 1;
}

iframe.loaded {
  opacity: 1;
}

iframe {
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
