﻿/* /wwwroot/css/themes/sanlam.css */
:root {
    --primary-color: #0D89D4;
    --txt-white: #ffffff;
    --txt-color: #606060;
    --txt-blue: #4b4bd7;
    --bg-light-gray: #F5F5F5;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Segoe UI', sans-serif;
    color: var(--txt-color) !important;
}

html, body {
    height: 100%;
}


.txt-color {
    color: var(--txt-color) !important;
}
.sanlam-color {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
    color: var(--txt-white);
}
.bg-toast {
    border: 1px solid var(--primary-color) !important;
    background-color: var(--bg-light-gray) !important;
}
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--txt-white) !important;
    border-radius: 10px;
}

    .btn-primary:hover {
        background-color: rgba(13,137,212,0.7) !important;
    }

.text-primary {
    color: var(--primary-color) !important;
}
.text-blue {
    color: var(--txt-blue) !important;
}
.link-primary {
    color: var(--primary-color) !important;
    text-decoration: none;
}

.btn-logout {
    padding: 0 5px;
    background: linear-gradient(0deg, #00CED1,#00CED1, #1E90FF);
    border-radius: 50%;
}

    .btn-logout:hover {
        background: linear-gradient(180deg, #00CED1,#00CED1, #1E90FF);
        border-color: var(--primary-color) !important;
    }

    .btn-logout i {
        color: var(--txt-white);
    }


.navbar-brand img {
    height: 48px;
}



.sidebar-nav a {
    padding: 5px;
}

.sidebar-nav a, nav a {
    margin: 2px 5px !important;
    text-decoration: none;
}

    .sidebar-nav a.active, nav a.active,
    .sidebar-nav a:hover, nav a:hover {
        color: var(--txt-white) !important;
        border-radius: 10px;
    }
        .sidebar-nav a.active i, nav a.active i {
            color: var(--txt-white);
        }

.bg-card-light-gray {
    background: var(--bg-light-gray);
    border-radius: 15px;
    color: var(--txt-color) !important;
}
.bg-card-white {
    background: var(--txt-white);
    border-radius: 15px;
    color: var(--txt-color) !important;
    border:1px solid var(--primary-color) !important;
}

.bg-card-primary {
    background: var(--primary-color);
    border-radius: 15px;
    color: var(--txt-white) !important;
}


.semi-circle-container {
    position: absolute;
    top: 0;
    right: 0;
    width: min(100vw, 100vh);
    height: min(100vw, 100vh);
    overflow: hidden;
    z-index: -1;
}

.semi-circle {
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: -50%;
    right: -50%;
}

.logo-line {
    border-top: 2px solid #0D89D4 !important;
    width: 100vw;
    margin: 0 auto;
}

.form-control, .form-check-input {
    box-shadow: 0 0 0 .15rem rgba(13, 110, 253, .25) !important;
}

    .form-control:focus, .form-check-input:focus {
        border: 2px solid #28a745 !important;
        box-shadow: 0 0 0 .15rem rgba(40, 167, 69, .25) !important;
    }

.form-control, .btn {
    border-radius: 10px;
}

.separator {
    text-align: center;
    margin: 0.5rem 0;
    font-weight: bold;
}

.menu-icon-img {
    width: 22px;
    height: 22px;
}


.toggle-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    width: 100%;
    border: 1px solid;
    border-color: var(--primary-color);
}

.toggle-button {
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    cursor: pointer;
    width: 50%;
}

    .toggle-button.active {
        background-color: var(--primary-color);
        color: #fff;
    }

.input-field {
    display: none;
}

    .input-field.active {
        display: block;
    }

.iti {
    width: 100%;
}

.otp-box {
    width: 42px;
    height: 42px;
    border: 2px solid #0D89D4;
    border-radius: 8px;
    font-size: 20px;
}

.show-spinner {
    position: fixed !important;
    top: 50%;
    left: 50%;
    width: 3rem;
    height: 3rem;
    display:flex;
}
.hide-spinner {
    position: relative !important;    
    display: none!important;
}
.profile-pic {
    max-width: 250px;
    max-height: 400px;    
    height: auto;
}

    .profile-pic:hover {
        border: 1px solid var(--primary-color);
    }
.profile-icon {
    max-width: 190px;
    max-height: 190px;
    height: auto;
}
.accordion-button:not(.collapsed) {
   font-weight:bold;
}

.accordion-border-width
{
    border:0;
}
.drop-area {
    border: 2px dashed #ccc;
    border-radius: 10px;
    /* padding: 20px;*/
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: border-color 0.3s;
}

    .drop-area.dragover {
        border-color: var(--primary-color);
        background-color: #f0f8ff;
    }
.input-grp {
    box-shadow: 0 0 0 .20rem rgba(13, 110, 253, .25) !important;
    border-radius:10px!important;
    padding-left:5px;

}
.input-grp input{
    border-radius:0!important;
    border:0!important;
    outline:none!important;
}
     .input-grp:focus, .input-grp:focus-within {
        border: 2px solid #28a745 !important;
        box-shadow: 0 0 0 .15rem rgba(40, 167, 69, .25) !important;
    }
.scrollspy {
   min-height: 200px;
   max-height:75vh;
    margin-top: .5rem;
    overflow: auto;
}