@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
/* TODO: Add custom CSS... */

.hx-autosuggest,
.hx-autosuggest-input-wrapper {
    width: 100% !important;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.login-box {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.external-login-btn {
    height: 42px;
    border-radius: 21px;
    font-weight: 500;
}

.divider-text {
    position: relative;
    display: inline-block;
    padding: 0 10px;
    color: #6c757d;
    background: white;
}

    .divider-text::before,
    .divider-text::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 100px;
        height: 1px;
        background-color: #dee2e6;
    }

    .divider-text::before {
        right: 100%;
    }

    .divider-text::after {
        left: 100%;
    }

.form-floating > label {
    padding-left: 1.75rem;
}

    .form-floating > label i {
        margin-right: 4px;
    }

.microsoft-btn,
.google-btn {
    position: relative;
    width: 100%;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 14px;
    font-weight: 500;
    background-color: white !important;
    transition: background-color 0.2s, border-color 0.2s;
}

    .microsoft-btn img,
    .google-btn img {
        width: 18px;
        height: 18px;
    }

.microsoft-btn {
    color: #5e5e5e !important;
}

    .microsoft-btn:hover {
        background-color: #f3f3f3 !important;
        border-color: #ccc;
    }

.google-btn {
    color: #3c4043 !important;
}

    .google-btn:hover {
        background-color: #f8f9fa !important;
        border-color: #dadce0;
    }


.nutri-score-selected-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}
