﻿

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #fff;
    color: #333;
}

.dropdown-arrow {
    appearance: none; /* Removes default browser arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2rem; /* Space for arrow */
}

#demo-request-danalix-expert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.optional-divider {
    display: flex;
    align-items: center;
    color: #6c757d;
}

    .optional-divider::before,
    .optional-divider::after {
        content: "";
        flex: 1;
        border-bottom: 1px solid #dee2e6;
    }

.optional-text {
    padding: 0 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6c757d;
    text-transform: uppercase;
}


.error-border {
    border: 1px solid red !important;
}

.error-message {
    color: red;
    font-size: 0.85em;
    margin-top: 4px;
    display: block;
}

.slider:before {
    height: 15px !important;
}

.slider{
    width:45px !important;
}


.page-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 150px auto 20px auto;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.left-column, .right-column {
    box-sizing: border-box;
    padding: 40px;
    flex: 1 1 50%;
    background-color: #fff;
}

h1 {
    font-size: 28px;
    font-weight:600;
    margin-bottom: 20px;
}

.demo-form-input{
    padding:4px !important;
}

p.intro {
    font-size: 16px;
    color: #444;
    margin-bottom: 25px;
    line-height: 1.5;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group > div {
    flex: 1;
    min-width: 250px;
}


.single-field {
    margin-bottom: 5px;
}

label {
    font-weight: bold;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

#demoDateTimeField input
{
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#demoDateTimeField select {
    width: 100%;
    padding: 17px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#clearDemoDateTime {
    padding:11px;
    background: #eee;
    border: 1px solid #ccc; 
    border-radius: 4px;
    cursor: pointer;
}

.slider:before {
    position: absolute;
    content: "";
    /* height: 18px; */
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

#demoDateTimeField input
{
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#demoDateTimeField select {
    width: 100%;
    padding: 17px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#clearDemoDateTime {
    padding:11px;
    background: #eee;
    border: 1px solid #ccc; 
    border-radius: 4px;
    cursor: pointer;
}


input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.toggle-container {
    display: flex;
  
    gap: 10px;
    margin-bottom: 20px;
}


.toggle-switch {
    position: relative;
    width: 46px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
    margin-top:8px;
}



.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}



.toggle-switch input:checked + .slider {
    background-color: #eba123;
}

.toggle-switch input:checked + .slider:before {
    transform: translateX(22px);
}

#tp-button{
    margin-left: 15px;
}

#book-demo-btn {
    padding: 12px 20px;
}

.cta-button {
    background-color: #eba123;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: fit-content;
    align-self: center;
    min-width: 200px;
    margin-bottom: 10px;
}

.cta-button:hover {
    background-color: #c18e1a;
}

.required-note {
    text-align: center;
    font-size: 13px;
    color: #555;
}

/* Right column styling */
.right-column h2 {
    font-size: 23px;
    font-weight:600;
    margin-bottom: 20px;
}

.right-column img {
    width: 100%;
    max-width: 500px;
    height: 300px; /* Fixed height */
    object-fit: cover; /* Crop to fit without distortion */
    border-radius: 8px;
    margin: 0 auto 20px auto; /* top 0, horizontal auto, bottom 20px */
    display: block; /* necessary for margin auto to work */
}

.right-column p {
    font-size: 16px;
    color: #444;
    margin-bottom: 20px;
}

.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.bullet-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bullet-icon {
    color: #eba123;
    font-size: 18px;
}

.call-action {
    font-weight: bold;
    margin-bottom: 10px;
}

.sales-button {
    background-color: #eba123;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: 0 auto;
    min-width: 200px;
}

.error-border {
    border: 1px solid red !important;
}
.sales-button:hover {
    background-color: #c18e1a;
}

#expert-img {
    height: auto;
}


@media (max-width: 768px) {
    .page-container {
        flex-direction: column;
    }

    .form-group {
        flex-direction: column;
    }
}


