/* RAF Code Validation Form Styles */

.raf-form {
    margin-bottom: 20px;
}

.raf-field-group {
    margin-bottom: 25px;
}

.raf-input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    background-color: #fff;
    border: 0;
}

.raf-input:focus {
    outline: none;
    border-color: #007cba;
}

.raf-input.error {
    border: 2px solid #dc3232;
}
.raf-error-message.raf-error-message.show
{
        font-style: normal;
        text-align: left;
        background: #e74c3c;
        position: relative;
        padding: 5px 12px;
        display: inline-block;
        margin-top: 10px;
        color: #fff;
        font-size: 15px;
        font-weight: 400;
    
}
.raf-error-message.raf-error-message.show:before {
    bottom: 100%;
    left: 15px;
    border: 6px solid rgba(255, 255, 255, 0);
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #e74c3c;
    margin-left: -8px;
}
.raf-submit-btn {
    width: 100%;
    font-size: 1.143em;
    padding: 12px 25px;

}
.btn-color-yellow{
    background-color: #fddd03;
    color: #00414c;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}
.btn-color-yellow:hover {
    background-color: #7bc792;
}

.raf-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.raf-error-message {
    margin-top: 8px;   
    color: red;
    font-size: 14px;
    display: none;
}

.raf-error-message.show {
    display: block;
    animation: slideDown 0.3s ease;
}

.raf-call-message {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,.5);
    display: flex;
    justify-content: center;
    align-items: center;
	z-index:2;
}
.raf-call-inner
{
     position: relative;
  background-color: white;
  padding: 2em;
  width: 90%;
}
.raf-call-message a{
    text-decoration: none;
}
.raf-close{
    width: 36px;
    height: 36px;
    border-radius: 100%;
    position: absolute;
    right: -15px;
    text-align: center;
    top: -15px;
    background: #fff;
    color: #00414d;
    font-weight: 600;
    box-shadow: 0 1px 7px rgb(0 0 0 / 48%);
    cursor: pointer;
    padding: 3px;
  
}
.raf-call-message h3 {
    margin: 0 0 15px 0;
    color: #05414d;
}


.raf-call-message p {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.raf-phone
{
    background-color: #fddd03;
    color: #00414c;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    font-size: 1.143em;
    padding: 12px 25px;
    margin-top: 20px;
    display: block;
    text-align: center;
}
.raf-phone:before{
    background: url(../images/phone2.svg) center / 20px auto no-repeat;
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    position: relative;
    top: 4px;
    margin-right: 5px;
    
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive design */
@media (min-width: 992px) {
.raf-call-inner{
    width: 400px;
}
}

/* Focus styles for accessibility */
.raf-input:focus-visible {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.raf-submit-btn:focus-visible {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}
