/*
Theme Name: ReactionCRM
Author: CodeChameleon
Author URI: https://codechameleon.com
Version: 0.1
Requires at least: 6.0
Requires PHP: 8.2
Text Domain: reactioncrm
*/
@import "tailwindcss";
@import "daisyui";

.btn-green, .btn-light-green {
    border-radius: 5px;
    color: #fff
}

.pricing-toggle, .wp-content div.column {
    overflow: hidden
}

.btn-green, .btn-light-green, .pricing-toggle-item {
    font-weight: 500;
    transition: background-color .3s
}

#pricing .item-card, .perspective-1000 {
    perspective: 1000px
}

.item-card.selected {
    box-shadow: 0 0 15px rgba(0, 149, 81, .3)
}

.faq:has(input[type="radio"]:checked) {
    box-shadow: 0 0 15px rgba(0, 149, 81, .3)
}

.wp-content img {
    height: auto
}

.wp-content h1, .wp-content h2, .wp-content h3, .wp-content h4, .wp-content h5, .wp-content h6 {
    margin: 1rem 0;
    display: block;
    clear: both
}

.wp-content img.alignnone {
    clear: both;
    display: block;
    margin-bottom: 2rem
}

.wp-content p {
    text-align: justify
}

.wp-content figure.alignleft {
    margin: 2rem 2rem 2rem 0
}

.wp-content figure.alignright {
    margin: 2rem 0 2rem 2rem
}

.wp-content figure.alignnone {
    margin: 2rem 0
}

.wp-content figure.aligncenter, .wp-content figure.aligncenter img, .wp-content img.aligncenter {
    display: block;
    margin: 0 auto;
    padding: 2rem 0
}

.wp-content figure.aligncenter figcaption {
    text-align: center
}

@media (min-width: 52rem) {
    .wp-content figure.alignleft, .wp-content img.alignleft {
        padding-bottom: 2rem;
        padding-right: 2rem;
        float: left;
        max-width: 50%
    }

    .wp-content figure.alignright, .wp-content img.alignright {
        padding-bottom: 2rem;
        padding-left: 2rem;
        float: right;
        max-width: 50%
    }

    .wp-content figure.alignleft img, .wp-content figure.alignnone, .wp-content figure.alignnone img, .wp-content figure.alignright img, .wp-content img.aligncenter {
        padding-bottom: 2rem
    }
}

@media (max-width: 52rem) {
    .wp-content figure.alignleft, .wp-content img.alignleft {
        max-width: 40%;
        padding-bottom: 2rem;
        padding-right: 2rem;
        float: left
    }

    .wp-content figure.alignright, .wp-content img.alignright {
        max-width: 40%;
        padding-bottom: 2rem;
        padding-left: 2rem;
        float: right
    }

    .wp-content figure.alignleft img, .wp-content figure.alignnone, .wp-content figure.alignnone img, .wp-content figure.alignright img, .wp-content img.aligncenter {
        padding-bottom: 2rem
    }
}

@media (max-width: 40rem) {
    .wp-content figure.alignleft, .wp-content figure.alignright, .wp-content img.alignleft, .wp-content img.alignright {
        display: block;
        max-width: 100%;
        margin-bottom: 2rem;
        padding: 0
    }

    .wp-content figure.aligncenter, .wp-content img.aligncenter {
        display: block;
        max-width: 100%;
        margin-bottom: 2rem
    }

    .wp-content figure, .wp-content img {
        display: block;
        max-width: 100%
    }
}

.img-landscape-mode img {
    aspect-ratio: 3/2;
    object-fit: cover;
    width: 100%
}

html {
    scroll-behavior: smooth !important
}

body {
    font-family: Montserrat, sans-serif
}

.text-dark-green {
    color: #1a3c34
}

.text-dark-grey {
    color: #323232
}

.btn-green {
    background-color: #009951
}

.btn-green:hover {
    background-color: #0e7626
}

.btn-light-green {
    background-color: #cff7d3
}

.btn-light-green:hover {
    background-color: #a6eba6
}

.border-dark-green {
    border-color: #04783e
}

.dropdown:hover .dropdown-menu, .group:hover .dropdown-menu {
    display: block
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
    border-radius: 5px;
    min-width: 7rem;
    z-index: 50
}

.relative .dropdown-menu {
    top: 100%;
    left: 0
}

.dropdown-menu a {
    display: block;
    padding: 6px 12px;
    color: #1e1e1e;
    text-decoration: none
}

.dropdown-menu a:hover {
    background-color: #f1f1f1
}

#burger-toggle {
    position: relative;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center
}

#burger-toggle i {
    position: absolute;
    transition: opacity .2s ease-in-out
}

#burger-toggle .menu-open {
    opacity: 1
}

#burger-toggle .menu-close {
    opacity: 0
}

#mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transform: translateX(-100%);
    transition: transform .3s ease-in-out;
    z-index: 40
}

#mobile-menu.open {
    transform: translateX(0);
    background-color: #fff
}

header {
    z-index: 50
}

.item-card.selected {
    transform: scale(1.05);
    transition: box-shadow .3s ease-in-out, transform .3s ease-in-out
}

.item-card .btn:hover, .item-card.selected .btn {
    background-color: #009951;
    color: #fff;
    border: none
}

.btn.currency-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0
}

.btn.currency-btn.active, .pricing-toggle-item.active {
    background-color: #cff7d3
}

.pricing-toggle {
    display: flex;
    border: 1px solid #04783e;
    border-radius: .5rem
}

.pricing-toggle-item {
    padding: .5rem 1rem;
    color: #323232;
    border: none;
    outline: 0
}

#pricing .item-card, .animate-section {
    transition: transform .5s ease-out, opacity .5s ease-out
}

.pricing-toggle-item:not(.active) {
    background-color: #e5e7eb
}

.pricing-toggle-item + .pricing-toggle-item {
    border-left: 1px solid #04783e
}

.pricing-toggle-item#period-yearly {
    border-radius: .5rem 0 0 .5rem
}

.pricing-toggle-item#period-monthly {
    border-radius: 0 .5rem .5rem 0
}

.badge {
    position: relative;
    background-color: #04783e;
    color: #fff
}

.badge.hidden {
    display: none
}

.badge::after {
    content: '';
    position: absolute;
    bottom: -.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #04783e
}

#calculation .custom-slider {
    background: 0 0;
    z-index: 10;
    position: relative
}

#calculation .custom-slider::-webkit-slider-runnable-track {
    background: 0 0
}

#calculation .custom-slider::-moz-range-track {
    background: 0 0
}

#calculation .custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #1a3c34;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, .3);
    position: relative;
    top: -9px
}

#calculation .custom-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #1a3c34;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, .3);
    position: relative;
    top: -9px
}

@media (max-width: 767px) {
    .item-card {
        margin-bottom: 1.5rem
    }

    #calculation .md\:w-1\/2 {
        width: 100%
    }

    #calculation .flex.items-center {
        justify-content: space-between;
        width: 100%
    }
}

.animate-section {
    position: relative;
    transform-style: preserve-3d;
    transform-origin: bottom
}

#stories-carousel {
    height: 15rem
}

#stories-carousel .carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateZ(-100px)
}

#stories-carousel .carousel-item.active {
    opacity: 1;
    transform: translateZ(0)
}

details {
    transition: box-shadow .3s
}

details summary:hover {
    color: #009951
}

@media (min-width: 640px) {
    #stories-carousel {
        height: 24rem
    }
}

.margin-bottom-min {
    margin-bottom: -.5rem
}

@media (max-width: 639px) {
    .divider-horizontal {
        display: none
    }
}

.rounded-full {
    border-radius: 9999px
}

/* Gravity Forms Styles */

/* Styles for Gravity Form ID 1 */
#gform_wrapper_1 .gform_body .gform_fields .gfield input[type="email"] {
    border-width: 1px;
    border-color: #D1D5DB; /* Tailwind gray-300 */
    border-radius: 0.5rem; /* Tailwind rounded-lg */
    padding: 0.5rem 1rem;
    width: 12rem; /* Tailwind w-48 */
}

@media (min-width: 640px) {
    /* Tailwind sm breakpoint */
    #gform_wrapper_1 .gform_body .gform_fields .gfield input[type="email"] {
        width: 16rem; /* Tailwind w-64 */
    }
}

#gform_wrapper_1 #field_submit {
    padding-left: 0.75rem; /* Tailwind px-3 */
    padding-right: 0.75rem; /* Tailwind px-3 */
    border-radius: 0.5rem; /* Tailwind rounded-lg */
    background-color: #009951;
    color: white;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

#gform_wrapper_1 #field_submit:hover {
    background-color: #0e7626;
}

#gform_wrapper_1 .gform-field-label {
    display: none;
}

#field_1_1 {
    margin: 1rem;
}

/* New styles to align email input and submit button on same line */
#gform_wrapper_1 .gform_fields {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Small gap between elements */
}

#gform_wrapper_1 #field_1_1 {
    flex: 0 0 auto; /* Don't grow or shrink */
    margin: 0; /* Remove the 1rem margin to avoid spacing issues */
}

#gform_wrapper_1 #field_submit {
    flex: 0 0 auto; /* Don't grow or shrink */
    margin: 0;
}

/* Ensure the submit button input has proper styling */
#gform_wrapper_1 #field_submit input[type="submit"] {
    padding: 0.5rem 1rem; /* Match the email input padding */
    border: none;
    border-radius: 0.5rem;
    background-color: #009951;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#gform_wrapper_1 #field_submit input[type="submit"]:hover {
    background-color: #0e7626;
}