﻿:root {
    --auth-modal-border: 1px solid transparent;
    --auth-modal-bg: linear-gradient(90deg, rgba(0, 28, 156, 0.7) 0%, rgba(0, 24, 76, 0.7) 100%);
    --auth-custom-input: linear-gradient(90deg, rgba(0, 28, 156, 0.7) 0%, rgba(0, 24, 76, 0.7) 100%);
    --auth-sign-in-with-btn: 1px solid #6280EB;
}

.login-register-modal {
    max-width: 41.5rem;
}

.modal-body {
    padding-top: 0;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
}

.logo-dark { display: block; }
.logo-light { display: none; }

.pointc-logo-modal {
    margin-left: 15.5rem;
    height: 3.125rem !important;
    width: auto !important;
}


@media (max-width: 768px) {
    .pointc-logo-modal {
        height: 2.325rem !important;
        width: auto !important;
    }
}
    /*.modal-header {
    border-bottom: none;
    padding: 2rem 1rem 1rem 1rem;
}*/

    .custom-label {
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 1rem;
        color: #DBDCE1;
        margin-bottom: 8px;
    }

    .custom-input {
        border-radius: 12px;
        height: 3.375rem;
        background: var(--auth-custom-input);
        border: 1px solid transparent;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(4.8px);
        -webkit-backdrop-filter: blur(4.8px);
        caret-color: #FFFFFF;
        color: #FFFFFF;
        transition: 0.3s;
    }

        .custom-input:hover {
            border-color: #A4B7FC;
        }

        .custom-input:focus {
            color: #FFFFFF;
            box-shadow: none;
            background: var(--auth-custom-input);
            border: 1px solid #A4B7FC;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(4.8px);
            -webkit-backdrop-filter: blur(4.8px);
        }

    .custom-modal-button {
        margin-top: 1.25rem;
        top: 400px;
        left: 32px;
        opacity: 1;
        gap: 8px;
        border-radius: 8px;
        padding: 1rem;
        background-color: var(--btn-bg-color);
        color: #DBDCE1;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 1rem;
        transition: 0.3s;
    }

        .custom-modal-button:hover {
            background-color: var(--btn-hover-bg-color);
            color: #DBDCE1;
        }

    .form-check-label-checkbox {
        font-weight: 400;
        font-size: 1rem;
        color: #DBDCE1;
        font-family: 'Inter', sans-serif;
    }

    .forgot-password {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 1rem;
        color: #6280EB;
        text-decoration: none;
    }

    .sign-in-with {
        color: #A4B7FC;
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 1rem;
        margin-bottom: 1.25rem;
        margin-top: 1.25rem;
    }

        .sign-in-with span {
            margin-left: 1rem;
            margin-right: 1rem;
        }

        .sign-in-with hr {
            border: 1px solid #A4B7FC;
            flex-grow: 1;
        }

    .login-link {
        color: #6280EB;
        text-decoration: none;
    }

    .modal-small-text {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 1rem;
        color: var(--main-page-text-color);
        margin-bottom: 0;
        margin-top: 1.25rem;
    }

        .modal-small-text a {
            font-weight: 600 !important;
        }

    .sign-in-with-btn {
        height: 3.5rem;
        width: 18.25rem;
        gap: 10px;
        opacity: 1;
        border-width: 1px;
        border-radius: 8px;
        padding: 1rem;
        border: var(--auth-sign-in-with-btn);
    }


    .input-with-button-container {
        position: relative;
    }

    /* Стилі для кнопки показу/приховування пароля */
    .toggle-password {
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: var(--main-page-text-color);
        font-size: 1.5rem;
        cursor: pointer;
        font-size: 0.875rem; /* 30% менше */
    }

        .toggle-password:focus {
            outline: none; /* Забираємо стандартний фокус */
        }

    .modal-terms-text {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 1rem;
        color: #DBDCE1 !important;
        margin-bottom: 0;
        margin-top: 1.25rem;
    }

        .modal-terms-text label a {
            font-weight: 600 !important;
        }

.error-label {
    color: #F53504;
}
