.preloader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('../images/load.gif') 50% 50% no-repeat rgb(255, 255, 255);
    opacity: .9;
}

.text-break {
    min-width: 145px;
    max-width: 165px;
    word-break: break-all;
}

.unit-measure {
    display: flex;
    gap: 21px;
    top: 6px;
    overflow-y: scroll;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.required:after {
    content: " *";
    color: red;
}

.unit-measure .form-check {
    display: flex;
    gap: 5px;
}

.unit-measure input {
    margin: 0;
}

.unit-measure label {
    margin: 0;
}

.create-button {
    position: relative;
    display: flex;
    justify-content: end;
    align-items: center;
}

.create-button a {
    font-size: 14px;
}

.display_text {
    display: flex;
    justify-content: center;
}

.display_text span {
    background-color: #00acd6;
    padding: 9px;
    color: #fff;
    margin-bottom: 10px;
    border-radius: 10px;
}

.display_text_error span {
    background-color: #c0392b;
    padding: 9px;
    color: #fff;
    margin-bottom: 10px;
    border-radius: 10px;
}

.unit-measure::-webkit-scrollbar {
    display: none;
}

.insights-wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.loading {
    width: 100%;
    margin-top: 20px;
    display: none;
}

.insights-wrapper img {
    width: 4%;
    height: 10%;
}

.insights-div {
    position: absolute;
    right: 21%;
}

.insights-area {
    display: none;
    margin-top: 12px;
    position: absolute;
    left: -79%;
    z-index: 11;
}

.close-icon {
    position: absolute;
    right: -14px;
    top: -20px;
    cursor: pointer;
    z-index: 111;
}

.insights {
    right: 20%;
    color: red;
    cursor: pointer;
    z-index: 1111;
}

/* .insights-result{
    width: 220px;
    height: 100px;
    overflow-y: scroll;
} */

.img-insights {
    width: 52px;
    cursor: pointer;
    z-index: 11;
    position: relative;
}

body.signup-page * {
    box-sizing: border-box;
}

html.signup-page,
body.signup-page {
    height: 100%;
    margin: 0;
    padding: 0;
}

body.signup-page {
    background-color: #ffffff;
    font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    height: auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

body.signup-page .page-wrapper {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
}

body.signup-page .back-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 500;
    display: inline-block;
}

.signup-page .back-link:hover {
    text-decoration: underline;
    color: rgba(255, 255, 255, 0.8);
}

body.signup-page .signup-container {
    width: 100%;
    max-width: 650px;
    background-color: #00acd6;
    border-radius: 12px;
    padding: 40px 30px;
    padding-bottom: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

body.signup-page .logo-container {
    text-align: center;
    margin-bottom: 25px;
}

.signup-page .logo-container img {
    width: 80px;
    height: 80px;
    display: inline-block;
}

body.signup-page .title {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

body.signup-page .subtitle {
    text-align: center;
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.signup-page .info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: #2196F3;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    margin-left: 6px;
    cursor: pointer;
    line-height: 1;
}

body.signup-page .form-group {
    margin-bottom: 18px;
}

body.signup-page .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}

.signup-page .form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.signup-page .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #ffffff;
    font-size: 14px;
}

.signup-page .form-group input[type="text"],
.signup-page .form-group input[type="email"],
.signup-page .form-group input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    transition: border-color 0.3s;
}

.signup-page .form-group input[type="text"]:focus,
.signup-page .form-group input[type="email"]:focus,
.signup-page .form-group input[type="password"]:focus {
    outline: none;
    border-color: #ffffff;
    background-color: #ffffff;
}

.signup-page .form-group input[type="text"]::placeholder,
.signup-page .form-group input[type="email"]::placeholder,
.signup-page .form-group input[type="password"]::placeholder {
    color: #999;
}

.signup-page .help-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
    margin-bottom: 18px;
    line-height: 1.4;
}

body.signup-page .terms-container {
    margin: 25px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

body.signup-page .toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    margin-right: 10px;
    flex-shrink: 0;
    cursor: pointer;
}

.signup-page .toggle-switch input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
    z-index: 5;
}

body.signup-page .toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 26px;
    pointer-events: none;
    z-index: 1;
}

.signup-page .toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.signup-page .toggle-switch input[type="checkbox"]:checked+.toggle-slider {
    background-color: #4CAF50;
}

.signup-page .toggle-switch input[type="checkbox"]:checked+.toggle-slider:before {
    transform: translateX(24px);
}

.signup-page .toggle-switch input[type="checkbox"]:focus+.toggle-slider {
    box-shadow: 0 0 1px #4CAF50;
}

.signup-page .terms-container label {
    font-size: 14px;
    color: #ffffff;
}

.signup-page .terms-links {
    margin-left: 0;
    display: inline;
}

.signup-page .terms-links a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 500;
}

.signup-page .terms-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

body.signup-page .signup-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

body.signup-page .signup-button {
    padding: 14px 40px;
    background-color: #EA4335;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.signup-page .signup-button:hover {
    background-color: #d33b2e;
}

.signup-page .signup-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

body.signup-page .loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #666;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

body.signup-page .branding {
    text-align: center;
    margin-top: 25px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.signup-page .branding p {
    margin: 0 0 10px 0;
}

.signup-page .branding-logo {
    width: 100px;
    height: auto;
    margin-top: 8px;
}

body.signup-page .footer-links {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 12px;
    padding: 0;
    background: none;
    border: none;
}

body.signup-page .footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin: 0 12px;
    display: inline;
    padding: 0;
    background: none;
    border: none;
}

body.signup-page .footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

body.signup-page .alert {
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
}

.signup-page .alert-success {
    background-color: rgba(212, 237, 218, 0.95);
    color: #155724;
    border: 1px solid rgba(195, 230, 203, 0.8);
}

.signup-page .alert-error {
    background-color: rgba(248, 215, 218, 0.95);
    color: #721c24;
    border: 1px solid rgba(245, 198, 203, 0.8);
}

@media (max-width: 767px) {
    body.signup-page {
        padding: 30px 15px;
    }

    body.signup-page .page-wrapper {
        max-width: 100%;
    }

    body.signup-page .signup-container {
        padding: 30px 20px;
        border-radius: 8px;
        max-width: 100%;
    }

    body.signup-page .title {
        font-size: 20px;
    }

    body.signup-page .subtitle {
        font-size: 14px;
    }

    body.signup-page .form-row {
        flex-direction: column;
        gap: 0;
    }

    .signup-page .form-row .form-group {
        margin-bottom: 18px;
    }

    body.signup-page .form-group {
        margin-bottom: 15px;
    }

    .signup-page .form-group input[type="text"],
    .signup-page .form-group input[type="email"],
    .signup-page .form-group input[type="password"] {
        padding: 10px;
        font-size: 14px;
    }

    body.signup-page .terms-container {
        font-size: 13px;
    }

    body.signup-page .back-link {
        font-size: 13px;
    }

    body.signup-page .signup-button {
        padding: 12px 30px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    body.signup-page .signup-container {
        padding: 25px 18px;
    }

    body.signup-page .title {
        font-size: 18px;
    }

    body.signup-page .subtitle {
        font-size: 13px;
    }

    .signup-page .logo-container img {
        width: 70px;
        height: 70px;
    }

    .signup-page .form-group label {
        font-size: 13px;
    }

    body.signup-page .signup-button {
        padding: 12px 25px;
        font-size: 15px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    body.signup-page .signup-container {
        max-width: 700px;
    }
}

@media (min-width: 1025px) {
    body.signup-page .signup-container {
        max-width: 750px;
    }
}