@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap");

:root {
    --primary: #7539ff;
    --primary-hover: #3d0ebf;
    --light: #f7f8f9;
    --white: #fff;
    --gray-500: #5d6772;
    --gray-900: #051321;
    --heading-color: #051321;
    --border-color: #e2e4e6;
    --body-color: #5d6772;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.bg-white {
    margin: 0;
    font-family: "Instrument Sans", "Inter", sans-serif;
    font-size: 14px;
    color: var(--body-color);
    background-color: var(--white);
    line-height: 1.5;
}

.main-wrapper.auth-bg {
    min-height: 100vh;
    background-image: url("../../assets/img/auth/auth-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.vh-100 {
    min-height: 100vh;
}

.card {
    border-radius: 0.5rem;
}

.card.border-0.p-lg-3.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(5, 19, 33, 0.12) !important;
}

.form-label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--heading-color);
}

.input-group-text {
    background: var(--light);
    color: var(--heading-color);
    border-color: var(--border-color);
}

.input-group-text i {
    font-size: 14px;
}

.form-control {
    border-color: var(--border-color);
    color: var(--gray-900);
    font-size: 14px;
    padding: 0.5625rem 0.75rem;
}

.form-control:focus {
    border-color: var(--border-color);
    box-shadow: none;
}

.input-group .form-control.border-start-0 {
    border-left: 0;
}

.input-group .input-group-text.border-end-0 {
    border-right: 0;
}

.pass-group.input-group {
    position: relative;
}

.bg-primary-gradient {
    background-image: linear-gradient(120deg, #4c00fb 0%, #6725ff 60%, #7539ff 100%) !important;
    border: none;
    font-weight: 600;
    padding: 0.625rem 1rem;
}

.bg-primary-gradient:hover,
.bg-primary-gradient:focus {
    background-image: linear-gradient(120deg, #3d00d4 0%, #5a1fe6 60%, #6429e6 100%) !important;
    color: var(--white);
}

.hover-a {
    position: relative;
    color: var(--primary);
    text-decoration: none;
}

.hover-a::after {
    content: "";
    height: 2px;
    width: 100%;
    background: var(--primary);
    transform: scale(0);
    transition: transform 0.3s ease;
    position: absolute;
    bottom: -3px;
    left: 0;
}

.hover-a:hover {
    color: var(--primary);
}

.hover-a:hover::after {
    transform: scale(1);
}

.toggle-password {
    cursor: pointer;
    width: 30px;
    height: 30px;
    color: var(--gray-900);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 9;
}

.alert-banner {
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 16px;
    font-size: 13px;
}

.alert-banner--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.login-logo-img {
    max-width: 180px;
    height: auto;
}

.text-dark {
    color: var(--heading-color) !important;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-hover);
}
