/* resources/css/app.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
    /* optional color : #4052D6 */
    /* body background */
    --color-body-background: #6A5ACD;
    --color-body-background-light: #f4f4f4;

  /* Primary Colors */
  --color-header: #ffffff;
  --color-footer: #6A5ACD;
  --color-font: #6A5ACD;
  --color-font-inverse: #6A5ACD;

  /* Success, Warning, Danger, Info */
  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-danger: #dc3545;
  --color-info: #17a2b8;
  --font-family-main:'Roboto', sans-serif !important;
  --menu-font-size: 20px;
  --menu-font-color: #6A5ACD;
  --primary-font-color: #ffffff;
  --secondary-font-color: #ffffff;
  --primary-font-size: 2.5rem;
  --secondary-font-size: 1.5rem;
  --small-font-size:1rem;
  --color-white:#ffffff;
  --primary-button-color: #6A5ACD;
  --overlay-color: #4052D680;
  --overlay-color-inverse: #c6c6c880;
  --style-font-size : 1.5rem;
  --footer-bg-color: #4052d6db;
  --bg-color:#6A5ACD;
  --card-color:#6A5ACD;
  --nav-color:#6A5ACD;


}

.nav-color{
    color: var(--nav-color) !important;
}

.bg-joblite{
    background: #ffffff;
}

button.navbar-toggler{
    background: var(--nav-color);
}

.bg-infos{
    background: var(--nav-color);
    color: #ffffff;
}

.bg-infos a{
    color: #ffffff;
}

/* nav menu dropdown style */

.container-fluid{
    padding-top: 100px;
}

.navbar-brand img{
    width: 200px;
}

.a-style-color{
    color: var(--primary-button-color) !important;
}

.color-white{
    color: var(--color-white) !important;
}

.accordian-header-font-size{
    font-size: 1.5rem;
}

.bg-color{
    background: var(--bg-color);
}

.bg-notification-style{
    background: var(--bg-color);
    top: 15px;
    left: 45px;

}

.header-style{
    color: var(--color-font);
    font-size: 2rem;
    font-weight: 800 !important;
    text-transform: uppercase;
}

.header-style-inverse{
    color: var(--color-white);
    font-size: 2rem;
    font-weight: 800 !important;
    text-transform: uppercase;
}

.header-style-padding{
    padding: 20px 10px;
}


body {
    background-color: var(--color-body-background-light) !important;
    font-family: var(--font-family-main);
}

nav.navbar.navbar-expand-lg.jobnav.bg-dark.fixed-top.border-bottom.border-body{
    padding: 14px;
    font-size: var(--menu-font-size);
    font-style: initial;
    text-transform: uppercase;
    background: var(--color-header) !important;
    color: var(--menu-font-color) !important;

}

.home-page .container-fluid {
    position: relative;
    background-image: url('/img/home-top-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    z-index: 1;
}

.home-page .container-fluid::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--overlay-color); /* Black overlay with 50% opacity */
    z-index: 0;
}

.home-page .container-fluid > * {
    position: relative;
    z-index: 1;
}

.home-page .how-it-works{
    position: relative;
    background-image: url('/img/how-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    z-index: 1;
}

.home-page .how-it-works::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--overlay-color); /* Black overlay with 50% opacity */
    z-index: 0;
}

.home-page .how-it-works > * {
    position: relative;
    z-index: 1;
}



.cat_initial {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    background-color: var(--color-body-background);
    color: #fff;
    font-weight: bold;
    margin-right: 6px;
    font-size: var(--style-font-size);
    padding: 20px;
}

.no-padding{
    padding: 0;
}


section.home-search{
    padding: 160px 100px;
}

.primary-font-color{
    color: var(--primary-font-color);
}

.primary-font-size{
    font-size: var(--primary-font-size);
}

.secondary-button{
    padding: 10px 30px;
    border-radius: 0px;
    background: #6c757d;
    color: #ffffff;
}

.primary-button {
    position: relative;
    padding: 8px;
    background: var(--primary-button-color);
    border: 1px solid var(--primary-button-color);
    border-radius: 0px;
    color: #ffffff;
    overflow: hidden;
    transition: color 0.3s ease;
    padding: 10px 30px;
}

.primary-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-button-color);
    border-radius: 0px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 0;
}

/* On hover, reveal the after element */
.primary-button:hover::after {
    transform: scaleX(1);
}

/* Ensure the text stays above the ::after background */
.primary-button {
    position: relative;
    z-index: 1;
}

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



.text-right{
    text-align: right;
}

.search-form-wrapper {
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.vertical-divider {
    width: 1px;
    height: 40px;
    background-color: #ccc;
    margin: 0 10px;
}


@media (min-width: 768px) {
    .search-form-wrapper .form-control {
        min-width: 250px;
    }
}



.select2-container{
    display: inline-block;
    text-align: left;
}

/* Base styling for select2 container */
.select2-container .select2-selection--single {
  height: 42px;
  padding: 6px 12px;
  background-color: #fff;
  border: none;
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
}

/* Hover and focus styles */
.select2-container .select2-selection--single:hover {
  border-color: #999;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default .select2-selection--single.select2-selection--focus {
  border-color: var(--primary-font-color, #007bff);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: none;
}

/* Text and arrow icon */
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #495057;
  font-size: 30px;
  line-height: 28px;
  padding-left: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  right: 10px;
}

/* Dropdown styling */
.select2-container--default .select2-dropdown {
  border-radius: 8px;
  border: 1px solid #ced4da;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Option items */
.select2-container--default .select2-results__option {
  padding: 8px 12px;
  font-size: 14px;
  transition: background-color 0.2s;
}

.select2-container--default .select2-results__option--highlighted {
  background-color: var(--primary-font-color, #007bff);
  color: white;
}

.home-form{
    background: var(--color-white);
    padding: 4px 0px;
}



.home-page .search-by-state{
    position: relative;
    background-image: url('/img/lite.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    z-index: 1;
}

.home-page .search-by-state::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--overlay-color-inverse); /* Black overlay with 50% opacity */
    z-index: 0;
}

.home-page .search-by-state > * {
    position: relative;
    z-index: 1;
}


/* login page*/

.login-card{
    padding-top:100px;
}


/* dashboard page */

.card-header-style{
    background: var(--card-color) !important;
}

.card-body-style{
    border: 1px solid var(--card-color) !important;
}


/* footer */

.footer-text{
    text-transform: uppercase;
    font-weight: 800;
}

h2.footer-text.footer-first{
    font-size: 3rem;
}

/* forget password */

.forget-password .container-fluid{
    padding: 100px 20px;
}


.reset-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
    border: 1px solid var(--primary-button-color);
    overflow: hidden;
}

    .reset-left {
        flex: 1;
        background: #f4f8ff;
        padding: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }


    .reset-left p {
        font-size: 16px;
        color: #555;
    }

    .reset-right {
        flex: 1;
        padding: 40px;
        background: #fff;
    }

    .reset-right form {
        max-width: 400px;
        margin: 0 auto;
    }

    .reset-right input[type="email"] {
        width: 100%;
        padding: 10px;
        margin: 10px 0 20px 0;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    

    .alert-success {
        color: green;
        margin-bottom: 10px;
    }

    .alert-error {
        color: red;
        margin-bottom: 10px;
    }

    @media (max-width: 768px) {
        .reset-wrapper {
            flex-direction: column;
        }
    }


    .reset-password-wrapper {
        display: flex;
        flex-wrap: wrap;
        margin-top:150px;
        margin-bottom: 50px;
        border: 1px solid var(--primary-button-color);
        border-radius: 8px;
        overflow: hidden;

    }

    .reset-password-left {
        flex: 1;
        background: #f4f8ff;
        padding: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

   

    .reset-password-left p {
        font-size: 16px;
        color: #555;
    }

    .reset-password-right {
        flex: 1;
        padding: 40px;
        background: #fff;
    }

    .reset-password-right form {
        max-width: 400px;
        margin: 0 auto;
    }

    .reset-password-right .form-label {
        font-weight: 600;
        color: #333;
    }

    .reset-password-right input {
        width: 100%;
        padding: 12px;
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 16px;
    }

    

    .alert-success {
        color: green;
        margin-bottom: 10px;
    }

    .alert-danger {
        color: red;
        margin-bottom: 10px;
    }

    @media (max-width: 768px) {
        .reset-password-wrapper {
            flex-direction: column;
        }
    }

/* dashboard */

.post-img-style{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #f1f1f1;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* profile page */
.profile-page .form-section {
        padding: 2rem;
        border-radius: 10px;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .profile-page .form-label {
        font-weight: 500;
    }

    .profile-page .form-control:focus {
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    }

    .profile-page .form-heading {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1rem;
        border-bottom: 1px solid #ddd;
        padding-bottom: 0.5rem;
    }

    .profile-page .profile-pic-preview {
        margin-top: 10px;
        border-radius: 6px;
        border: 1px solid #eee;
        padding: 5px;
        background: #f8f9fa;
    }


/* about us */

.jumbotron, .all-section, .below-section, .why-choose{
    padding: 30px;
}

.aboutpagedetails{
    position: relative;
    background-image: url('/img/how-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    z-index: 1;
}

.aboutpagedetails::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--overlay-color); /* Black overlay with 50% opacity */
    z-index: 0;
}

.aboutpagedetails > * {
    position: relative;
    z-index: 1;
}


.footer-bg-color{
    position: relative;
    background-image: url('/img/footer-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    z-index: 1;
}

.footer-bg-color::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--footer-bg-color); /* Black overlay with 50% opacity */
    z-index: 0;
}


.footer-bg-color > * {
    position: relative;
    z-index: 1;
}


.chat-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background: white;
    border: 1px solid #ccc;
    padding: 10px;
}
.chat-box.hidden {
    display: none;
}
.chat-header {
    display: flex;
    justify-content: space-between;
    background: #007bff;
    color: white;
    padding: 5px;
}
.chat-messages {
    height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 5px;
    margin-bottom: 5px;
}
.user-message {
    background: #f1f1f1;
    padding: 5px;
    margin: 2px 0;
    border-radius: 5px;
}



 .chat-container {
            margin: auto;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }
        .chat-header {
            background: #007bff;
            color: #fff;
            padding: 15px;
            font-size: 18px;
            font-weight: bold;
        }
        .chat-body {
            height: 400px;
            overflow-y: auto;
            padding: 15px;
            display: flex;
            flex-direction: column;
        }
        .message {
            max-width: 75%;
            margin-bottom: 10px;
            padding: 10px 15px;
            border-radius: 10px;
            font-size: 14px;
        }
        .message.sent {
            background: #007bff;
            color: white;
            align-self: flex-end;
        }
        .message.received {
            background: #e9ecef;
            color: black;
            align-self: flex-start;
        }
        .chat-footer {
            display: flex;
            padding: 10px;
            border-top: 1px solid #ddd;
            background: #fff;
        }
        .chat-footer input {
            flex: 1;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            margin-right: 10px;
        }
        
        .chat-footer input[type="file"] {
            display: none;
        }
        .attachment-icon {
            cursor: pointer;
            font-size: 20px;
            margin-right: 10px;
            color: #007bff;
        }
        .attachment-preview {
            max-width: 100px;
            margin-top: 5px;
            display: block;
        }


.profilepic{
    background: #000000;
    padding: 10px;
    border-radius: inherit;
}

/* media query for mobile */

@media (max-width: 768px) {
    .flex-grow-1 {
        width: 100% !important;
        display: block !important;
    }

    section.home-search{
        padding: 100px 0px;
    }
}

.offcanvas .btn-close {
    filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

