@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-orange: #FF6600;
    --dark-blue: #0F172A;
    --text-grey: #475569;
    --light-grey: #F3F3F5;
    --border-color: #E2E8F0;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #FFFFFF;
    color: var(--dark-blue);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* .e-cus-contact-wrapper {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 40px;
} */

/* Back Button */
.e-back-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    margin-left: 45px;
    cursor: pointer;
    transition: var(--transition);
}

.e-back-btn svg {
    color: var(--primary-orange);
    font-size: 20px;
}

/* Header Section */
.e-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.e-form-header h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-blue);
}

.e-form-header p {
    color: var(--text-grey);
    font-size: 18px;
    font-weight: 600;
}

/* Form Styles */
.e-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 20px auto;
    padding: 0 40px;
}

.e-form-section-title {
    font-size: 16px;
    font-weight: 500;
    color: #6B7280;
    margin-bottom: 10px;
}

.e-form-row {
    display: flex;
    gap: 24px;
    width: 100%;
}

.e-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.e-label {
    font-size: 12px;
    font-weight: 500;
    color: #6B7280;
}

.e-label span {
    color: #FF4D4D;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 0 13px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: #F3F3F5;
    font-size: 14px;
    font-weight: 500;
    color: #0b1a33;
    outline: none;
    transition: var(--transition);
    padding-top: 0 !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
    background-color: #FFFFFF;
    box-shadow: 0 0 0 2px var(--primary-orange);
}

.e-phone-input-container {
    display: flex;
    background-color: #F3F3F5;
    border-radius: 8px;
    padding: 0;
    border: 1px solid #F3F3F5;
}

.e-phone-input-container select {
    width: auto;
    background-color: #FFFFFF;
    padding: 0 10px;
    color: #6B7280;
    font-size: 14px;
    height: 32px;
    border-radius: 8px 0 0 8px;
}

.e-phone-input-container input {
    background-color: transparent;
    flex: 1;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

/* Dynamic Sections */
.e-dynamic-section {
    margin-top: 10px;
}

.e-question-text {
    font-size: 14px;
    font-weight: 500;
    color: #6B7280;
    margin-bottom: 15px;
}

.e-question-text span {
    color: #FF4D4D;
}

.e-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* Radio and Checkbox Styling */
.e-option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
}

.e-custom-radio {
    width: 22px;
    height: 22px;
    border: 2px solid #FF6B03;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.e-option-item input[type="radio"] {
    display: none;
}

.e-option-item input[type="radio"]:checked+.e-custom-radio {
    border-color: var(--primary-orange);
    border-width: 6px;
}

.e-custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #FF6B03;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.e-option-item input[type="checkbox"] {
    display: none;
}

.e-option-item input[type="checkbox"]:checked+.e-custom-checkbox {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.e-option-item input[type="checkbox"]:checked+.e-custom-checkbox::after {
    content: '✓';
    color: white;
    font-size: 14px;
}

.e-option-item input:checked~span {
    color: var(--dark-blue);
    font-weight: 600;
}

/* Other Solution Row */
.e-other-solution-row {
    grid-column: 1 / span 3;
    display: flex;
    align-items: center;
    gap: 15px;
}

.e-other-input-container {
    flex: 1;
    display: none;
    flex-direction: column;
}

.e-other-input-field {
    width: 100%;
    padding: 8px 16px;
    border-radius: 20px;
    background-color: #F3F3F5;
    border: none;
    font-size: 14px;
    height: 40px;
}

.e-other-input-field:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.e-char-limit {
    font-size: 10px;
    color: #94A3B8;
    text-align: right;
    margin-top: 4px;
}

/* Consent Section */
.e-consent-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.e-consent-text {
    font-size: 13px;
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 8px;
}

.e-consent-text a {
    color: #3B82F6;
    text-decoration: none;
}

/* Submit Button */
.e-submit-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.e-submit-btn {
    background-color: var(--primary-orange);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    height: 40px;
    width: 180px;
}

.e-submit-btn:disabled {
    background-color: #FED7B5;
    cursor: not-allowed;
    transform: none;
}

.e-submit-btn:not(:disabled):hover {
    background-color: #E65C00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

/* Modal Styling */
.e-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.e-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.e-modal-content {
    background: white;
    padding: 40px;
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    position: relative;
    text-align: center;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.e-modal-overlay.active .e-modal-content {
    transform: scale(1);
}

.e-close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 32px;
    color: #475569;
    cursor: pointer;
    line-height: 1;
}

.e-success-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.e-custom-success-icon {
    width: 48px;
    height: 48px;
    background-color: #22C55E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.e-custom-success-icon svg {
    width: 40px;
    height: 40px;
}

.e-modal-body h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 12px;
}

.e-modal-body p {
    font-size: 14px;
    color: #0F172A;
    line-height: 1.6;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .e-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .e-back-btn {
        margin-left: 0;
    }

    .e-other-solution-row {
        grid-column: 1 / span 2;
        flex-direction: column;
        align-items: flex-start;
    }

    .e-other-input-container {
        width: 100%;
    }
}

.e-other-solution-row .e-option-item {
    height: 100%;
    align-items: flex-start;
    margin-top: 2%
}

input:focus,
select:focus {
    border: none !important;
    box-shadow: none !important;
    background: #F3F3F5 !important;
    background-color: #F3F3F5 !important;
}

/* Premium Preloader Animations */

.e-animation-container {
    position: relative;
    height: 140px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.e-database-icon {
    font-size: 56px;
    color: var(--primary-orange);
    z-index: 2;
    filter: drop-shadow(0 0 15px rgba(255, 102, 0, 0.3));
    animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes pulseIcon {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(255, 102, 0, 0.3));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 25px rgba(255, 102, 0, 0.5));
    }
}

.e-data-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-orange);
    border-radius: 50%;
    opacity: 0;
}

.e-node-1 {
    animation: drift 3s infinite linear;
    top: 20%;
    left: 20%;
}

.e-node-2 {
    animation: drift 3s infinite linear 1s;
    top: 50%;
    right: 10%;
}

.e-node-3 {
    animation: drift 3s infinite linear 2s;
    bottom: 20%;
    left: 40%;
}

@keyframes drift {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translate(var(--tw-translate-x, 20px), var(--tw-translate-y, -20px));
        opacity: 0;
    }
}

/* Specific drift for nodes instead of generic */
.e-node-1 {
    animation: drift1 3s infinite linear;
}

.e-node-2 {
    animation: drift2 3s infinite linear 1s;
}

.e-node-3 {
    animation: drift3 3s infinite linear 2s;
}

@keyframes drift1 {
    0% {
        transform: translate(-30px, 30px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(0, 0);
        opacity: 0;
    }
}

@keyframes drift2 {
    0% {
        transform: translate(30px, -30px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(0, 0);
        opacity: 0;
    }
}

@keyframes drift3 {
    0% {
        transform: translate(0, 40px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(0, 0);
        opacity: 0;
    }
}

.e-preloader-text {
    font-size: 24px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.e-preloader-subtext {
    font-size: 16px;
    color: var(--text-grey);
    margin-bottom: 32px;
    text-align: center;
}

.e-progress-bar-container {
    width: 240px;
    height: 6px;
    background: #F1F5F9;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.e-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #FF6600, #FF9E66);
    border-radius: 10px;
    transition: width 0.1s linear;
}

/* div#side-navigation {
    display: none;
}

.sb-nav-fixed #platform-page-layout {
    margin-left: -250px !important;
}

div#page-content {
    max-height: 100%;
}

div#platform-page-layout {
    height: 100vh;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    max-height: 100%;
}

#page-content main {
    padding: 0;
    margin: 0;
} */

.footer-div {
    position: relative;
}

/* Autocomplete Suggestions */
.e-autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    margin-top: 4px;
}

.e-sugg-item {
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    color: var(--dark-blue);
    font-weight: 500;
}

.e-sugg-item:hover {
    background: #F8FAFC;
    color: var(--primary-orange);
}

.e-sugg-item:not(:last-child) {
    border-bottom: 1px solid #F1F5F9;
}

.e-other-input-container {
    position: relative;
}

input#country-code {
    background: white;
    padding: 0 0 0 5px;
    border: 1px solid #ded8d8;
    border-radius: 8px;
}


/*Platform Css*/
#platform-page-layout #side-navigation {
    display: none !important;
}

#platform-page-layout #page-content {
    margin: 0px !important;
    padding: 0px !important;
}

#page-content main {
    margin: 0px !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    height: 100vh !important;
}

.footer-div {
    display: none !important;
}

.platform-editor-section {
    padding-right: 0px !important;
    min-height: 100vh !important;
    height: 100vh !important;
    max-height: 100vh !important;
}

.platform-form-container>.one-column {
    padding: 0px !important;
}

.root-element {
    padding: 0px !important;
    width: calc(100vw - 10px) !important;
}

.top-navigation,
#side-navigation {
    display: none !important;
}

#page-content main {
    padding: 0px !important;
}

.responsive-css div#platform-page-layout {
    height: 100vh !important;
}

/*Platform Css*/

.e-form-header span.e-pro-text,
.e-form-header span.e-enterprise-text {
    color: var(--primary-orange);
}

.error-text {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 4px;
}

/* Iframe Modal Specific Styles */
.e-iframe-modal-content {
    max-width: 90vw !important;
    width: 1000px !important;
    height: 85vh;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
}

.e-iframe-modal-content .e-modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.e-iframe-container {
    flex: 1;
    width: 100%;
    margin-bottom: 10px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

#policy-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.e-modal-footer {
    display: flex;
    justify-content: center;
    /* padding-top: 10px; */
    margin-bottom: 10px;
}

.e-okay-btn {
    background-color: var(--primary-orange);
    color: white;
    border: none;
    padding: 8px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.2);
}

.e-okay-btn:hover {
    background-color: #E65C00;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 102, 0, 0.4);
}

@media (max-width: 1024px) {
    .e-iframe-modal-content {
        width: 95vw !important;
    }
}

.e-form-group.e-form-full-name-container .error-text {
    margin-top: -4px;
}

.top-navigation {
    display: flex !important;
    border-bottom: 1px solid #dad7d7;
}

#nav-menu-container,
.e-help-icon {
    display: none;
}

div.e-cus-contact-wrapper {
    padding-top: 2%;
}
