@import url('https://fonts.googleapis.com/css2?family=Athiti:wght@200;300;400;500;600;700&display=swap');

:root {
    --primary: #39b5ff;
    --black: #000000;
    --white: #ffffff;
    --red: #FF0707;
    --green: green;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Athiti", sans-serif;
    font-weight: 600;
    font-style: normal;
}

a {
    text-decoration: none;
}

.visible-hide {
    display: block;
}

.hide-visible {
    display: none !important;
}

.hide {
    display: none;
}

.visible {
    display: block;
}

.crm-bg-white{
    background:var(--white);
}
.crm-color-white {
    color: var(--white);
}

.crm-bg-primary {
    background: var(--primary) !important;
}

.crm-color-primary {
    color: var(--primary) !important;
}

.crm-bg-green {
    background: green !important;
}

.crm-color-green {
    color: green !important;
}

.crm-bg-pink {
    background: #D32BE2 !important;
}

.crm-color-pink {
    color: #D32BE2 !important;
}
.crm-color-red {
    color: red !important;
}

.crm-btn-primary {
    background: var(--primary);
    border: none;
    padding: 5px 10px;
    font-size: 20px;
    color: var(--white);
    border-radius: 5px;
    display:flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.crm-btn-green {
    background: var(--green);
    border: none;
    padding: 0px 10px;
    font-size: 18px;
    color: var(--white);
    border-radius: 5px;
    display:flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.crm-btn-red {
    background: var(--red);
    border: none;
    padding: 0px 10px;
    font-size: 18px;
    color: var(--white);
    border-radius: 5px;
    display:flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
button i{
    margin-left:5px !important;
}

.dark-background {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999999;
    transition: all ease .5;
}

.h2 {
    font-size: 24px;
    color: var(--primary);
}

.header {
    width: calc(100% - 250px);
    height: 50px;
    position: fixed;
    top: 0;
    left: 250px;
    background: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 50px;
    z-index: 9999999;
}

.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0px;
    left: 0;
    background: var(--primary);
    z-index: 9999999;
    overflow-y: auto;
}

.sidebar .brand {
    width: 88%;
    background: var(--white);
    padding: 5px;
    border-radius: 10px;
    position: relative;
    top: 10px;
    left: 5%;
}

.crm {
    font-size: 30px;
    color: var(--white);
}

.designation {
    font-size: 25px;
    color: var(--white);
    text-transform: uppercase;
}

.header-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right .logout {
    cursor: pointer;
}

.header-right i {
    display: block;
    margin-left: 50px;
    font-size: 21px;
    color: var(--white);
}

.sidebar ul {
    list-style: none;
    margin-top: 20px;
}

.sidebar ul li {
    width: 100%;
    cursor: pointer;
}

.sidebar ul li:hover {
    background: var(--black);
}

.sidebar ul li a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px 20px;
    color: var(--white);
    font-size: 21px;
}

.sidebar ul li button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px 20px;
    color: var(--white);
    background: none;
    border: none;
    text-align: left;
    font-size: 21px;
    cursor: pointer;
}

.sidebar ul li i {
    margin-right: 10px;
}

.active {
    background: var(--white);
}

.active a {
    color: var(--primary) !important;
}

.crm-container {
    width: calc(100% - 250px);
    /* min-height: calc(100vh - 50px); */
    /* max-height: 100%; */
    position: relative;
    top: 50px;
    left: 250px;
    background: var(--white);
    /* padding:10px 20px; */
    box-shadow: inset 0px 5px 5px #bababa;
}

.dashboard-cards {
    width: 90%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 100px);
    padding: 10px 20px;
}

.crm-card {
    width: 50% !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.crm-card>a {
    display: block;
    width: 41%;
    padding: 50px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.crm-card>a i {
    font-size: 60px;
    color: var(--white);
}

.crm-card h2 {
    font-size: 23px;
}

.container-head {
    width: calc(100% - 250px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #eee;
    padding: 10px 20px;
    position: fixed;
    top: 50px;
    right: 0;
    z-index: 999;
}
.container-head > div{  
    display:flex;
    align-items:center
}
.container-head h2{
    font-size:18px;
}
.container-head .filter{
    margin-left:20px;
    display: flex;
    justify-content: space-between;
    align-items:start;
}
.container-head .filter select,input{
    border-radius:5px;
    padding:2px;
    cursor:pointer;
}
.container-head .filter i{
    margin-left:20px;
    font-size:25px;
    color:var(--primary);
    cursor:pointer;
}
.crm-table {
    width: 100%;
    padding: 10px 20px;
    margin-top: 60px;
}

.crm-table table {
    width: 100%;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.crm-table table thead {
    background: #bababa;
    font-size: 20px;
}

.crm-table table tr {
    text-align: left;
    font-size: 18px;
    color: rgba(0, 0, 0, 0.7)
}

.crm-table table tr a {
    color: #20C330;
    font-weight: 700;
}

.crm-table table tr:nth-child(even) {
    background: #eee;
}

.crm-table table td,
th {
    padding: 10px 10px;
}

.crm-table th {
    color: #000000;
    font-weight: 600;
    font-size: 20px;
}
.crm-table input{
    width:15px;
    height:15px;
    margin-right:10px;
    cursor:pointer
}

.add-new-lead-popup {
    width: 27%;
    max-height: 95%;
    position: fixed;
    top: 20px;
    right: 50px;
    background: var(--white);
    padding: 10px 15px;
    overflow-y: auto;
}

.add-new-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.add-new-head h2 {
    font-size: 25px;
    color: var(--primary);
}

.add-new-head .cross {
    font-size: 23px;
    color: var(--primary);
    color: #FF0707;
    cursor: pointer;
}

.form {
    margin-top: 10px;
}

.form label {
    font-size: 20px;
    color: var(--black);
    margin-bottom: 10px;
}

.form input,
select {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
    font-size: 16px;
}

.form textarea {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
    font-size: 16px;
}

.form button {
    width: 100%;
}
.requirement_availability{
    display: flex;
    justify-content: start;
    align-items: center;
}
.requirement_availability input{
    min-width:20px !important;
    height:20px !important;
    width:auto !important;
    padding:0;
    margin:0;
    margin-left:10px;
}
.response-tags {
    display: flex;
    flex-wrap: wrap;
}

.response-tags .tag {
    width: auto !important;
    font-size: 16px;
    padding: 0 10px;
    background: #eee;
    margin-right: 5px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.response-tags .tag-clicked {
    width: auto !important;
    font-size: 16px;
    padding: 0 10px;
    background: var(--primary);
    color:var(--white);
    margin-right: 5px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.crm-phone-table {
    width: 100%;
    padding: 20px 10px;
    margin-top: 60px;
}

.phone-table-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 10px 15px;
    background: #eee;
    border-radius: 5px;
    margin-bottom: 15px;
}
.phone-table-item .lead-for{
    width:100%;
}
.phone-table-item h2 {
    font-size: 20px;
}

.table-item-left {
    width: 10%;
}
.table-item-left input{
    width:15px;
    height:15px;
    margin-right:10px;
    margin-top:15px;
    cursor:pointer
}
.table-item-right {
    width: 88%;
}
.table-item-right>div {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.table-item-right>div a {
    color: var(--green);
    font-weight: 700;
}

.view-lead-page {
    width: 100%;
    padding: 10px 20px;
    margin-top: 60px;
}

.cards-flex {
    display: flex;
    justify-content: space-between;
}

.lead-details-card {
    width: 48%;
    padding: 10px 20px;
    margin-bottom: 20px;
    background: #eee;
    /* box-shadow:0px 5px 5px #bababa; */
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    position:relative;
    padding-top:20px;
}
.lead-details-card .lead-for{
    width:100%;
    position: absolute;
    top:0;
    right:0;
}
.lead-for span{
    background:var(--primary);
    padding:2px 5px;
    color:var(--white);
    float:right;
}


.lead-details-card .div {
    width: 100%;
}

.lead-details-card h2 {
    font-size: 23px;
}

.lead-details-card p,
a {
    font-size: 20px;
}

.lead-details-card-right {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 0;
}

.lead-details-card-right h2 {
    font-size: 18px;
    font-weight: bold;
}

.lead-details-card-right p {
    font-size: 18px;
    margin-left: 20px;
}

.lead-details-card-right h3 {
    font-size: 18px;
    color: #20C330;
    font-weight: 700;
}

.requirement-message{
    color:rgba(0, 0, 0, 0.7);
    font-size:14px;
    font-weight: lighter;
}
.follow-up-section {
    padding: 10px;
}

.follow-up-card {
    width: 100%;
    background: #eee;
    padding: 10px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.follow-up-card>div {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.follow-up-card div h2 {
    font-size: 16px;
}

.lead-response {
    width: 100%;
    background: var(--white);
    padding: 16px;
    margin-top: 10px;
    flex-direction: column !important;
    border-radius: 10px;
}

.lead-response p {
    font-size: 16px;
}

.lead-response h3 {
    display: block !important;
    float: right !important;
    margin-top: 20px;
    margin-right: 20px;
    font-size: 20px;
    font-weight: 700;
    text-align: right;
}
.response-tag{
    width:auto;
    background:var(--primary);
    font-size:16px;
    padding:2px 10px;
    color:var(--white);
    text-transform:uppercase;
    border-radius:5px;
}
.edit {
    margin-top: 10px;
    font-size: 20px;
    cursor: pointer;
}

.login-page {
    width: 25%;
    margin: auto;
}

.login-page img {
    width: 100%;
    height: 100px;
    margin: auto;
    margin-top: 100px;
    object-fit: contain;
    object-position: 50%;
}

.login-page>div {
    width: 100%;
    margin: auto;
    margin-top: 20px;
}

.login-card h2 {
    padding: 10px 20px;
    text-align: center;
    font-weight: 700;
}

.login-card h3 {
    margin-bottom: 10px;
}

.login-card>div {
    width: 100%;
    background: #eee;
    padding: 10px 20px;
    margin: auto;
    border-radius: 10px;
}

.login-card input {
    width: 100%;
    height: 28px;
    padding: 5px;
    border: none;
    box-shadow: -2px 2px 2px 2px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.login-card button {
    padding: 1px 10px;
    background: #39b5ff;
    border: none;
    font-size: 16px;
    color: var(--white);
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.login-card a {
    color: blue;
    font-size: 16px;
    margin-left: 20px;
}
.pop-up-loader{
    width:100%;
    height:100%;
    background:rgba(0, 0, 0, 0.7);
    position:absolute;
    top:0;
    left:0;
    display:flex;
    justify-content: center;
    align-items: center;
    color:var(--white);
}
.pop-up-loader > div i{
    font-size:50px;
    animation: round 1s infinite;
}
@keyframes round {
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

.full-page-loader{
    width: calc(100% - 250px);
    height:100vh;
    position: fixed;
    top: 50px;
    left: 250px;
    background:var(--white);
    display:flex;
    justify-content: center;
    align-items: center;
    color:var(--primary);
    z-index: 99999;
}
.full-page-loader > div i{
    font-size:50px;
    animation: round 1s infinite;   
}
.table-loader{
    width:100%;
    height:7px;
    position:relative;
    top:50px;
    left:0px;
    background: #eee;
    z-index: 999;
    overflow:hidden;
}
.table-loader > div{
    width:30%;
    height:100%;
    background: var(--primary);
    animation: linearLoading 2s linear infinite;
}
@keyframes linearLoading{
    0%{
        transform:translateX(-100%);
    }
    100%{
        transform:translateX(200vw);
    }
}
/* .pop-up-loader > div{
    width:50px;
    height:50px;
    border: 5px solid var(--white);
    border-radius:50%;
} */
/* .pop-up-loader > div::after{
    width:50px;
    height:50px;
    content:"";
    border: 3px solid var(--black);
    border-radius: 50%;
} */


.crm-alert{
    width:100%;
    height:100%;
    background:rgba(255, 255, 255, 1);
    position:absolute;
    top:0;
    left:0;
    display:flex;
    justify-content: center;
    align-items: center;
    font-size:20px;
    z-index: 999;
}
@media (max-width: 768px) {

    .visible-hide {
        display: none !important;
    }

    .hide-visible {
        display: block !important;
    }

    .header {
        width: 100%;
        left: 0;
        padding: 5px 10px;
    }

    .designation {
        font-size: 18px;
    }

    .sidebar {
        top: 50px;
        left: calc(100% - 45px);
        transition: all ease .5s;
        box-shadow: -1px 0px 2px 1px #bababa;
    }

    .sidebar ul {
        margin-top: 1px;
    }

    .crm-container {
        width: calc(100% - 45px);
        left: 0;
        padding-top: 5px;
        /* padding:5px 10px; */
    }

    .dashboard-cards {
        width: 100%;
        padding: 5px 10px;
    }

    .crm-card {
        width: 48% !important;
        justify-content: center;
        align-items: center;
    }

    .crm-card>a {
        display: flex;
        width: 70%;
        padding: 25px;
    }

    .crm-card>a i {
        font-size: 30px;
    }

    .crm-card h2 {
        font-size: 18px;
    }

    .add-new-lead-popup {
        width: 95%;
        right: 2.5%;
    }

    .container-head {
        width: calc(100% - 45px);
        left: 0;
    }

    .view-lead-page {
        padding: 10px 10px;
    }

    .cards-flex {
        flex-direction: column;
    }

    .lead-details-card {
        width: 100%;
        margin: 0;
        border-radius: 0px;
    }

    .lead-details-card-right {
        align-items: center;
    }

    .lead-details-card-right h2 {
        font-size: 16px;
    }

    .lead-details-card-right p {
        font-size: 16px;
    }

    .lead-details-card-right h3 {
        font-size: 16px;
    }

    .follow-up-section {
        padding: 0px;
        padding-top: 20px;
    }

    .follow-up-card {
        padding: 10px 10px;
    }

    .follow-up-card>div {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        font-size: 16px;
    }

    .follow-up-card div h2 {
        font-size: 16px;
    }
    .follow-up-card h3{
        font-size: 16px;
    }

    .login-page {
        width: 90%;
    }

    .login-page img {
        margin-top:60px;
    }

    .full-page-loader{
        width:100%;
        left:0;
        right:0;
    }
}