/* FORMS STYLES (split from base) */

a:hover, a:focus {
    text-decoration: none;
}

a:focus {
    outline: none;
    text-decoration: none;
    color: var(--primarycolor );
}

.dark-bg .formlabel {
        background: var(--whitebgtext) !important;
    }

.dropdown-item:focus {
    text-decoration: none !important;
    color: #333 !important;
    background-color: white;
}

.selectedrow {
    background-color: var(--SelectedRow) !important;
}

.validation-message {
    color: red;
    text-align: center;
    width: 100%;
    font-style: italic;
}

.required {
    color: var(--ErrorText);
}

.input-form {
    padding: 15px;
}

.input-form table {
        width: 100%;
        padding: 15px;
    }

.input-form table tr {
            display: flex;
            justify-content: center;
        }

.input-form table tr td {
                /*                max-width: 500px;*/
                width: 100%;
                padding: 0 5px;
                margin-bottom: 5px;
            }

/* Form Fields*/
    .input-form input[type=text] {
        width: 100%;
        height: 35px;
    }

.input-form input[type=number] {
        width: 100%;
        height: 35px;
    }

.input-form input[type=password] {
        width: 100%;
        height: 35px;
    }

.input-form table {
        width: 100%;
    }

.input-form table tr {
            display: flex;
            justify-content: center;
        }

.input-form table tr td {
                /*                max-width: 500px;*/
                width: 100%;
                padding: 0 5px;
            }

.input-form input[type=text] {
        width: 100%;
        height: 35px;
    }

.input-form input[type=date] {
        width: 100%;
        height: 35px;
    }

.input-form input[type=datetime] {
        width: 100%;
        height: 35px;
    }

.input-form input[type=number] {
        width: 100%;
        height: 35px;
    }

.input-form input[type=password] {
        width: 100%;
        height: 35px;
    }

input[type="date"] {
    /*    width: 100%;
    height: 35px;
    padding: 0 5px;
    border-radius: 5px;
    border: 1px solid #000;*/
    /*    max-width: 125px;*/
}

input[type="time"] {
    /*    width: 100%;
    height: 35px;
    padding: 0 5px;
    border-radius: 5px;
    border: 1px solid #000;*/
    max-width: 125px;
}

.formlabel, .filter-label {
    color: var(--FormLabelColor);
    margin-bottom: 5px;
    margin-top: 0;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    line-height: 100%;
    vertical-align: bottom;
    text-transform: uppercase;
}

.inlineformlabel {
    color: black;
    font-size: 14px;
    text-align: left;
    font-weight: 600;
    color: var(--FormLabelColor);
}

input[type=text] {
    width: 100%;
    height: 37px;
    border-radius: 4px;
    border: 1px solid var(--BorderColor);
    font-weight: 400;
    font-size: 14px;
    color: var(--Text);
    padding: 8px 12px;
    box-shadow: none;
    outline: none;
}

input[type=search] {
    border: 1px solid #000;
    border-radius: 5px;
    padding: 5px 20px;
    appearance: none;
    font-size: 12px;
    overflow-y: hidden;
}

input [type=tel] {
    padding: 3px;
    border: 1px solid #505050;
    border-radius: 5px;
    width: 100%;
    height: 35px;
    max-width: 500px;
    font-weight: 500;
}

input[type=password] {
    padding: 3px;
    border: 1px solid #505050;
    border-radius: 5px;
    width: 100%;
    height: 35px;
    max-width: 500px;
    font-weight: 500;
}

input[type=number] {
    padding: 3px;
    border: 1px solid #505050;
    border-radius: 5px;
    width: 100%;
    height: 35px;
    max-width: 500px;
    font-weight: 500;
}

textarea {
    height: 100px;
    padding: 8px 12px;
    border: 1px solid var(--BorderColor);
    border-radius: 5px;
    font-weight: 500;
    width: 100%;
    color: var(--Text);
    outline: none;
}

textarea:focus {
        border-color: var(--Interactive-Default)
    }

.time select {
        width: 70px !important;
    }

select {
    width: 100%;
    height: 37px !important;
    border-radius: 4px;
    border: 1px solid var(--BorderColor) !important;
    font-weight: 400;
    font-size: 14px !important;
    color: var(--Text) !important;
    padding: 8px 12px;
    box-shadow: none !important;
    outline: none;
}

select:focus {
        border-color: var(--Interactive-Default) !important;
    }

.currency-input {
    position: relative;
}

.currency-input input {
        width: 100px !important;
    }

.currency-input input {
    padding-left: 20px !important;
}

/*Mutli Select Drop Down START */
.check-box-section {
    display: flex;
    flex-wrap: wrap;
}

.check-box-section input {
        width: auto;
        height: auto;
    }

/*Multi Select Drop Down END */
.center-table table {
    width: 100%;
}

.input-form {
    padding: 16px 10px;
}

.input-form table {
        width: 100%;
        padding: 15px;
    }

.input-form table tr {
            display: flex;
            justify-content: center;
        }

.input-form table tr td {
                /*                max-width: 500px;*/
                width: 100%;
                padding: 0 5px;
                margin-bottom: 12px;
            }

.input-form input[type=text] {
        width: 100%;
        height: 35px;
    }

.input-form input[type=number] {
        width: 100%;
        height: 35px;
    }

.input-form input[type=password] {
        width: 100%;
        height: 35px;
    }

.input-form table {
        width: 100%;
    }

.input-form table tr {
            display: flex;
            justify-content: center;
        }

.input-form table tr td {
                /*                max-width: 500px;*/
                width: 100%;
                padding: 0 6px;
            }

input[type=text], input[type=date], input[type=number], input[type="time"], .check-box-section .anchor {
    width: 100%;
    height: 37px;
    border-radius: 4px;
    border: 1px solid var(--BorderColor);
    font-weight: 400;
    font-size: 14px;
    color: var(--Text);
    padding: 8px 12px;
    box-shadow: none;
    outline: none;
}

input[type=text]:focus, input[type=date]:focus, input[type="time"]:focus {
        border-color: var(--Interactive-Default)
    }

.input-form input[type=date] {
    /*            width: 100%;
            height: 35px;
            width: 125px;*/
}

.shortinput {
    height: 25px !important;
}

.paymentform .formlabel {
    color: black;
    font-weight: 400;
    font-size: 16px;
}

.paymentform .formlabel {
        margin-bottom: 0px;
        margin-left: 5px;
        font-size: 16px;
        font-weight: 400;
    }

.zipcode input {
    width: 100px !important;
}

.paymentform .formlabel {
    color: black;
    font-weight: 400;
    font-size: 16px;
    margin-top: 0px !important;
}

.ccpaymentform .formlabel {
        margin-bottom: 0px;
        margin-left: 5px;
        font-size: 16px;
        font-weight: 400;
    }

.ccpaymentform .formlabel {
    color: black;
    font-weight: 400;
    font-size: 16px;
}

.workflowtabs .label {
        position: absolute;
        bottom: -30px;
        font-weight: 900;
        text-align: center;
        width: 100%;
    }

.workflowtabs .circle.unselected {
        background-color: var(--WorkflowStepInActiveTextColor);
    }

.workflowtabs .circle.selected {
        background-color: var(--WorkflowStepActiveTextColor);
        color: var(--SideNavSelectedItemTextColor);
    }

.workflowtabs .circle.selected .selectedlabel {
            color: var(--TableHeaderBackgroundColor);
        }

.workflowtabs .circle.unselected .unselectedlabel {
        color: var(--WorkflowStepInActiveTextColor);
    }

.quotesteps .selectedcircle {
        width: 97px;
        height: 97px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        cursor: pointer;
    }

.quotesteps .label {
        position: absolute;
        bottom: -55px;
        font-weight: 900;
        text-align: center;
        /*width: 100%;*/
    }

.quotesteps .circle.unselected {
        background-color: var(--WorkflowStepInActiveTextColor);
    }

.quotesteps .selectedcircle.selected {
        background-color: var(--WorkflowStepActiveTextColor);
    }

.tabs-top-dashboard-sec .tab-menu .dropdown-box-header button.select-dropdown__button {
            border: none;
            background: transparent;
            display: block;
        }

.tabs-top-dashboard-sec .tab-menu .dropdown-box-header button.select-dropdown__button svg {
                display: block;
            }

/*********dropdown********/



.select-dropdown {
    position: relative;
    display: block;
    max-width: 100%;
}

/*.select-dropdown__button {
padding: 10px 35px 10px 15px;
background-color: #fff;
color: #616161;
border: 1px solid #cecece;
border-radius: 3px;
cursor: pointer;
width: 210px;
text-align: left;
}

*/
.select-dropdown__button::focus {
    outline: none;
}

.select-dropdown__button .zmdi-chevron-down {
    position: absolute;
    right: 10px;
    top: 12px;
}

.select-dropdown__list {
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    max-height: 500px;
    overflow: auto;
    margin: 10px 0 0;
    list-style-type: none;
    opacity: 0;
    pointer-events: none;
    transform-origin: top left;
    transform: scale(1, 0);
    transition: all ease-in-out 0.3s;
    z-index: 2;
    min-width: 400px;
    background: #fff;
    padding: 12px;
    border-radius: 4px;
    box-shadow: 0px 8px 24px 0px #3330301A;
}

.select-dropdown__list.active {
        opacity: 1;
        pointer-events: auto;
        transform: scale(1, 1);
    }

.select-dropdown__list-item {
    display: block;
    list-style-type: none;
    padding: 10px 15px;
    background: #fff;
    border-top: 1px solid #e6e6e6;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    color: #616161;
    transition: all ease-in-out 0.3s;
}

.inner-filter-box .filter-body input {
    border: 1px solid #F0F0F0;
    background: #F6F6F6;
    width: 100%;
    padding: 8px 12px;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: -.2px;
    color: #707271;
    outline: none !important;
    box-sizing: border-box;
}

.inner-filter-box .filter-body label {
        font-weight: 600;
        font-size: 12px;
        line-height: 100%;
        letter-spacing: 0;
        vertical-align: bottom;
        text-transform: uppercase;
        margin-bottom: 6px;
        display: block;
    }

.stat-card .label {
        font-weight: 600;
        font-size: 12px;
        line-height: 100%;
        color: var(--Text);
        margin-bottom: 4px;
        text-transform: uppercase;
    }

.form-signle label {
    font-weight: 600;
    font-size: 12px;
    line-height: 100%;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--Heading);
}

/*    .form-signle .form-control::placeholder {
        color: var(--Text);
    }

.btn-theme:focus {
        box-shadow: none !important;
    }

.form-check-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.form-check-container input:checked ~ .checkmark:after {
        display: block;
    }

.form-check-container input:checked ~ .checkmark {
        background-color: var(--buttonprimarybackground);
        border-color: var(--buttonprimarybackground);
    }

.upload-button input {
    position: absolute;
    right: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    top: -40px;
}

.item-list-payment .formlabel {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0px;
}

.switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

input:checked + .slider {
    background-color: var(--Interactive-Default);
}

input:checked + .slider::before {
        transform: translateX(24px);
    }

/********new css**********/


/*.formlabel + input {
    width: 100%;
    height: 37px;
    border-radius: 4px;
    border: 1px solid var(--Divider);
    font-weight: 400;
    font-size: 14px;
    color: var(--Text);
    padding: 8px 12px;
    background-color: var(--Surface-3);
    box-shadow: none;
}

*/

.formlabel {
    color: var(--FormLabelColor);
    margin-bottom: 7px;
    margin-top: 0;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    line-height: 100%;
    vertical-align: bottom;
    text-transform: uppercase;
}

*/

.input-form {
    position: relative;
}

.form-outline .formlabel {
    margin-top: 10px;
}

.input-form table table.product-table tr {
    display: table-row;
    width: 100%;
}

.input-form table table.product-table table.tablestyle.lesspadding td {
    width: auto;
}

.top-filed .formlabel {
    color: var(--Text);
}

.input-form .icon-box {
    margin-bottom: 15px;
}


/* === Ideal Consumer Form Overrides ===================================== */
/* Variables tuned for readability and friendly feel */
:root {
  --form-radius: 6px;
  --form-text: #222;
  --form-label: #555;
  --form-border: #b7bec7;
  --form-placeholder: #777;
  --form-bg: #fff;
  --form-focus: var(--Interactive-Default, #0b5ed7);
  --form-focus-shadow: 0 0 0 3px rgba(11, 94, 215, 0.18);
}

/* Labels: darker, clearer, slightly larger */
.formlabel,
.filter-label {
  color: var(--form-label) !important;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .01em;
  margin: 0 0 6px 0;
  text-transform: none;
}

/* Inputs, selects, textareas: rounded, crisp borders, higher contrast */
.input-form input[type="text"],
.input-form input[type="email"],
.input-form input[type="tel"],
.input-form input[type="password"],
.input-form input[type="number"],
.input-form input[type="date"],
.input-form input[type="datetime-local"],
.input-form input[type="time"],
.input-form select,
.input-form textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="datetime-local"],
input[type="time"],
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: var(--form-bg);
  color: var(--form-text);
  border: 1px solid var(--form-border) !important;
  border-radius: var(--form-radius);
  padding: 10px 12px;
  height: 40px;
  line-height: 1.25;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

/* Textarea height should breathe */
.input-form textarea,
textarea {
  min-height: 110px;
  resize: vertical;
}

/* Placeholder contrast */
::placeholder {
  color: var(--form-placeholder);
  opacity: 1;
}

/* Focus state */
.input-form input:focus,
.input-form select:focus,
.input-form textarea:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--form-focus) !important;
  box-shadow: var(--form-focus-shadow);
}

/* Hover state */
.input-form input:hover,
.input-form select:hover,
.input-form textarea:hover,
input:hover,
select:hover,
textarea:hover {
  border-color: #aab4bf;
}

/* Disabled / read-only */
input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
  background: #f3f5f8;
  color: #767c85;
  border-color: #d3d9e0 !important;
  cursor: not-allowed;
  box-shadow: none;
}

/* Error state */
.input-error,
input.input-validation-error,
select.input-validation-error,
textarea.input-validation-error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}
.validation-message,
.field-validation-error {
  color: #dc3545;
  font-style: italic;
  margin-top: 4px;
}

/* Required asterisk */
.required,
.formlabel .required {
  color: #dc3545 !important;
}

/* Checkbox and radio */
input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--form-focus);
}

/* Select consistency */
select {
  background-color: var(--form-bg);
  background-image: none;
}

/* Field grouping spacing */
.input-form table tr td { margin-bottom: 12px; border:none !important; padding:3px 5px !important }
.input-form { padding: 16px 10px; }

/* Percent adornment wrapper */
.percentage-wrapper { width: 110px; }
.percentage-wrapper input { height: 40px; padding-right: 22px; }
.percentage-wrapper::after { right: 10px; color: #666; }

/* Utility fixed heights for width classes commonly used on inputs */
.width50,.width75,.width90,.width100,.width125,.width130,.width150,.width160,
.width167,.width175,.width200,.width225,.width240,.width250,.width275,.width300,
.width325,.width350,.width375,.width400,.width425,.width450,.width475,.width500 {
  height: 40px;
}

/* Mobile tweaks */
@@media (max-width: 560px) {
  .formlabel, .filter-label { font-size: 13px; }
  .input-form input,
  .input-form select,
  .input-form textarea { font-size: 16px; }
}
