/*** Custom Stylesheets ***/

:root {
    --dbm-body-bg: #f6f7fb;
    --dbm-wrapper-bg: #e8ebf5;
    --dbm-primary: #3b7ddd;
    --dbm-primary-hover: #2f69c5;
    --dbm-border: #d7deee;
    --dbm-text-muted: #6c757d;
    --dbm-blue:#3b7ddd;
    --dbm-green:#1cbb8c;
    --dbm-red:#dc3545;
    --dbm-orange:#fd7e14;
    --dbm-yellow:#fcb92c;
    --dbm-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.03), 0 0.5rem 1rem rgba(0,0,0,.04);
    --dbm-radius: 10px;
    --dbm-transition: .15s ease-in-out;
    --dybem-primary: #0074d4;
    --dybem-crimson: #e11d48;
    --dybem-blue: #3b7ddd;
}

body {
    background-color: var(--dbm-body-bg);
    min-height: 100vh;
    color: #495057;
}

a {
    color: var(--dbm-primary);
    transition: color var(--dbm-transition);
}

a:hover {
    color: var(--dbm-primary-hover);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    -webkit-text-fill-color: #495057;
}

#header {
    position: relative;
    padding-top: 1.75rem;
    padding-bottom: 1rem;
}

#header .dbm-logo {
    max-width: 32px;
    max-height: 32px;
}

#header .dbm-title {
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: .1px;
}

.dbm-auth-wrapper {
    background-color: var(--dbm-wrapper-bg);
    border: 1px solid var(--dbm-border);
    border-radius: 12px;
    box-shadow: var(--dbm-shadow);
    overflow: hidden;
}

.dbm-auth-card {
    border: 0;
    background: #fff;
}

.dbm-auth-card .card-body {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}

.dbm-possibilities-card {
    border-left: 1px solid rgba(255,255,255,.08) !important;
    border-right: 0;
    border-top: 0;
    border-bottom: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--dybem-crimson) 0%, var(--dybem-blue) 100%);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
}

.dbm-possibilities-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
}

.dbm-possibilities-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,.14), transparent 35%);
    pointer-events: none;
}

.dbm-possibilities-card svg {
    opacity: 0.3;
}

.dbm-form-primary h4 {
    font-weight: 600;
    color: #2d3748;
}

.dbm-form-primary .form-label {
    font-size: .875rem;
    font-weight: 500;
    color: #495057;
}

.dbm-form-primary .form-control {
    border: 1px solid #d6dbea;
    border-radius: 5px;
    background: #fff;
    min-height: 40px;
    font-size: .95rem;
    padding: .45rem .75rem;
    transition: border-color var(--dbm-transition), box-shadow var(--dbm-transition);
}

.dbm-form-primary .form-control:focus {
    border-color: rgba(59,125,221,.45);
    box-shadow: 0 0 0 .15rem rgba(59,125,221,.12);
}

.dbm-form-primary .input-group-text {
    border: 1px solid #d6dbea;
    border-right: 0;
    background: #f8faff;
    color: #6c757d;
    min-height: 40px;
    border-radius: 5px 0 0 5px;
    padding: 0 .75rem;
}

.dbm-form-primary .input-group .form-control {
    border-left: 0;
    border-radius: 0 5px 5px 0;
}

.dbm-form-primary .form-check-input {
    width: 16px;
    height: 16px;
    margin-top: .15em;
    border: 1px solid #cfd7e6;
    border-radius: 4px;
    box-shadow: none;
}

.dbm-form-primary .form-check-input:focus {
    border-color: rgba(59,125,221,.45);
    box-shadow: 0 0 0 .15rem rgba(59,125,221,.12);
}

.dbm-form-primary .form-check-input:checked {
    background-color: var(--dbm-primary);
    border-color: var(--dbm-primary);
}

.dbm-form-primary .btn-primary {
    background-color: var(--dbm-primary);
    border-color: var(--dbm-primary);
    min-height: 40px;
    border-radius: 5px;
    font-size: .85rem;
    letter-spacing: .4px;
    transition: all var(--dbm-transition);
}

.dbm-form-primary .btn-primary:hover,
.dbm-form-primary .btn-primary:focus,
.dbm-form-primary .btn-primary:active {
    background-color: var(--dbm-primary-hover);
    border-color: var(--dbm-primary-hover);
    box-shadow: 0 .2rem .6rem rgba(59,125,221,.18);
}

.dbm-social-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
}

.dbm-social-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 36px;
    padding: .35rem .65rem;
    border-radius: 5px;
    border: 1px solid #dfe5f1;
    background: #fff;
    font-size: .825rem;
    font-weight: 500;
    color: #495057;
    transition: all var(--dbm-transition);
}

.dbm-social-btn:hover {
    background: #f8faff;
    border-color: #cfd8ea;
}

.dbm-social-btn:focus,
.dbm-social-btn:active {
    background: #f8faff !important;
    border-color: #cfd8ea !important;
}

.dbm-divider-1::before,
.dbm-divider-1::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e3e8f2;
}

.dbm-list-language .dropdown-menu {
    min-width: 90px;
}

.dbm-list-language .dropdown-item {
    background-color: transparent;
}

.dbm-list-language .dropdown-item.active,
.dbm-list-language .dropdown-item:active {
    background-color: #e8ebf5;
    color: var(--dbm-primary);
}

.dbm-list-language .dbm-btn-flag {
    background-color: #f6f7fb !important;
    border: none;
    width: 36px;
    height: 36px;
    padding: 0;
}

.dbm-list-language .dbm-btn-flag.dropdown-toggle::after {
    display: none !important;
}

.dbm-x-small {
    font-size:.750em;
}

@media (max-width: 992px) {
    .dbm-possibilities-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .dbm-auth-card .card-body {
        padding: 1.5rem;
    }

    ul.dbm-list-language {
        top: 14px;
        right: 14px;
    }
}
