/* Book a Call popup. Change the colours in :root to match the brand. */
:root {
--green: #3db400;
  --vb-accent-dark: #17603c;
  --vb-text: #1a1a1a;
  --vb-muted: #666;
  --vb-border: #d0d0d0;
  --vb-error: #c0392b;
}

body.vb-lock { overflow: hidden; }

.vb-overlay {
  position: fixed; inset: 0; z-index: 999999;
  display: none; align-items: center; justify-content: center;
  padding: 16px; background: rgba(0, 0, 0, .6);
}
.vb-overlay.is-open { display: flex; }

.vb-modal {
  position: relative; box-sizing: border-box;
  width: 100%; max-width: 580px; max-height: 92vh; overflow-y: auto;
  padding: 32px 36px 36px; border-radius: 12px;
  background: #fff; color: var(--vb-text);
  -webkit-overflow-scrolling: touch;
}.vb-step-inner .button--group {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.vb-step-inner .button--group {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.vb-btn.call-btn span {
    display: block;
    width: 100%;
}
@keyframes phonePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgb(61 180 0);
    }
    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 12px rgba(0, 130, 198, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 130, 198, 0);
    }
}
@keyframes phonePulse2 {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgb(255 255 0);
    }
    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 12px rgba(0, 130, 198, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 130, 198, 0);
    }
}
.vb-btn.call-btn i {
    background: var(--green);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    color: #fff;
    border-radius: 100%;
    animation: phonePulse 1.5s infinite;
 
}.vb-btn span.text-value {
    margin-top: 15px;
}
.vb-btn.call-btn:hover {
    background: #3db400;  color: #fff;
}.vb-btn.call-btn:hover i {
    background: #fff;    transition: 0.5s ease-in-out;
    color: var(--green); animation: phonePulse2 1.5s infinite;
}
.vb-modal.vb-wide { max-width: 1090px; }
.vb-modal *, .vb-modal *::before, .vb-modal *::after { box-sizing: border-box; }

.vb-modal h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.25; }
.vb-modal p { margin: 0 0 16px; }

.vb-close {
  position: absolute; top: 0px; right: 20px;
  width: 40px; height: 40px; border: 0; background: none;    transition: 0.5s ease-in-out;
  font-size: 32px; line-height: 1; color: var(--vb-muted); cursor: pointer;
}
button.vb-close:hover {
    color: #46b70c;    transition: 0.5s ease-in-out;
}
.vb-step { display: none; }
.vb-step.is-active { display: block; }

.vb-modal label { display: block; margin: 14px 0 6px; font-weight: 600; font-size: 15px; }
.vb-modal input, .vb-modal textarea {
  display: block; width: 100%; padding: 12px;
  border: 1px solid var(--vb-border); border-radius: 30px;
  font: inherit; font-size: 16px; /* 16px stops iOS zooming in on focus */
}
.vb-modal input:focus, .vb-modal textarea:focus {
  outline: 2px solid var(--vb-accent); outline-offset: 1px;
}
.vb-btn.call-btn{padding: 24px 15px;
    border: 2px solid #3db400;
    border-radius: 20px;    color: #272727;
    background: #fff;    font-size: 16px;
	}
.vb-btn {
    display: block;
    width: 100%;
    margin: 12px 0 0;
    padding: 16px 15px;
    border: 2px solid var(--green);
    border-radius: 30px;
    background: var(--green);
    color: #fff;
    transition: 0.5s ease-in-out;
    font: inherit;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
}

.vb-btn.vb-primary { background:var(--green); color: #fff; margin-top: 0px; }
.vb-btn.vb-primary:hover { background:#fff; color:var(--green) }

.vb-link {
    display: block;
    margin: 14px auto 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 16px;
    cursor: pointer;
    padding: 14px 34px 16px 34px !important;
    background-color: #3DB400;
    color: #FFFFFF;
    border-radius: 30px;
    gap: 10px;
    position: relative;
    display: flex;
    align-items: center;
    font-weight: bold;
    width: max-content;
    text-decoration: none;
}
.vb-error { min-height: 20px; margin: 8px 0 0 !important; color: var(--vb-error); font-size: 14px; }

.vb-cal iframe { display: block; width: 100%; height: 640px; border: 0; }

/* Phones: popup fills the screen; calendar taller, page inside scrolls */
@media (max-width: 600px) {
  .vb-overlay { padding: 0; }
  .vb-modal { max-width: none; max-height: 100%; height: 100%; border-radius: 0; padding: 48px 16px 24px; }
  .vb-cal iframe { height: 720px; }
}
