﻿/* Stylizing the input fields */

.form-floating .form-control {
    border-radius: 12px;
    border: 1px solid #ccc;
    padding: 14px;
    font-size: 16px;
    height: 55px; /* Wuxuu hubinayaa in label-ka meel banaan uu helo */
}

.form-floating label {
    font-size: 14px;
    color: #888;
    transition: all 0.3s ease-in-out;
    padding-left: 12px;
}

/* Move label up when input has value */
.form-floating .form-control:focus ~ label,
.form-floating .form-control:not(:placeholder-shown) ~ label {
    transform: translateY(-20px);
    font-size: 12px;
    color: #6c5ce7;
}

/* Focus effect */
.form-control:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 5px rgba(108, 92, 231, 0.5);
}

/* Change the selection color */
.form-control::selection {
    background-color: #6c5ce7;
    color: white;
}

.card-header.progress-primary {
    background-color: #2C9AF1;
    color: #fff;
}


.header-primary {
    background-color: #6c89f7; /* Light blue similar to the image */
    color: white;
    font-weight: bold;
    text-align: left;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px 5px 0 0; /* Rounded top edges */
}

.vertical-text {
    writing-mode: vertical-rl; /* Makes the text stand vertically */
    text-orientation: mixed; /* Ensures letters remain readable */
    transform: rotate(180deg); /* Rotates to match your image */
    font-weight: bold;
    font-size: 16px;
    color: #333; /* Adjust color as needed */
}

.hamburger-icon span{

    background-color: white;
 
}
/* ===============================================================NAV BAR STYLE ==================================================*/

.navbar-menu, .navbar-brand-box, #navbarbrandbox {
    background-color: white;
    overflow: hidden;
}

.nav-item {
    color: #2C9AF1;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}



/* Menu font size and color */
.navbar-menu .navbar-nav .nav-link {
    color: #606060;
}

:root {
    --primary-color: #3b82f6; /* Blue */
    --white: #ffffff;
}

.nav-link.menu-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 0px 0px 0px 0px;
    transition: background 0.3s, color 0.3s;
    position: relative;
    text-decoration: none;
    color: black;
}



    /* --------- Curve Outside Effect ---------- */
    .nav-link.menu-link.active::before,
    .nav-link.menu-link.active::after {
        content: "";
        position: absolute;
        right: -15px;
        width: 50px;
        height: 50px;
        background-color: transparent;
        border-radius: 50%;
        box-shadow: 35px 35px 0 10px #2A9AF1;
        pointer-events: none;
    }

    .nav-link.menu-link.active::before {
        top: -50px;
        box-shadow: 35px 35px 0 10px #2A9AF1;
    }

    .nav-link.menu-link.active::after {
        bottom: -50px;
        box-shadow: 35px -35px 0 10px #2A9AF1;
    }

    .nav-link.menu-link.active i {
        color: white !important;
    }

/* Active link background and text color */

/* Hover Effect */
.navbar-menu .navbar-nav .nav-link:hover {
    background-color: #2A9AF1 !important;
    padding: 12px 15px;
    color: var(--white) !important;
    position: relative;
    /*font-weight: bold;*/
    transition: color 0.5s ease, box-shadow 0.5s ease-in-out;
}

    .navbar-menu .navbar-nav .nav-link:hover::before,
    .navbar-menu .navbar-nav .nav-link:hover::after {
        content: "";
        position: absolute;
        right: -15px;
        width: 50px;
        height: 50px;
        background-color: transparent;
        border-radius: 50%;
        pointer-events: none;
    }

    .navbar-menu .navbar-nav .nav-link:hover::before {
        top: -50px;
        box-shadow: 35px 35px 0 10px #2A9AF1;
    }

    .navbar-menu .navbar-nav .nav-link:hover::after {
        bottom: -50px;
        box-shadow: 35px -35px 0 10px #2A9AF1;
    }

.nav-link.menu-link:hover i {
    color: var(--white) !important;
}

.menu-open .navbar-menu .navbar-nav .nav-link:hover::before,
.menu-open .navbar-menu .navbar-nav .nav-link:hover::after {
    content: none;
    box-shadow: none;
}

.navbar-menu .navbar-nav .nav-link:not(:hover) {
    transition: none !important; /* Ensure no transition happens when hover ends */
}

/* =======================================================================================END NAV BAR STYLE ==================================================*/

#cardheader {
    background-color: #2C9AF1 !important; /* Darker blue on hover */
    color: #fff !important; /* White text */
    padding-top: 5px;
    padding: 10px 15px; /* Add some padding */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    font-weight: bold;
}

/* Hide overflow to prevent flickering */
.carousel-inner {
    overflow: hidden;
    position: relative; /* Keeps all images aligned properly */
}


.carousel-control-prev,
.carousel-control-next {
    display: none !important;
}

/* Smooth vertical fade transition */
.carousel-item {
    opacity: 0;
    position: absolute; /* Ensure smooth transitions */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(50px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

    .carousel-item.active {
        opacity: 1;
        transform: translateY(0);
        position: relative; /* Makes the active image visible */
    }

/* Ensure the images fit perfectly */
.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the area */
    border-radius: 10px; /* Makes the corners rounded */
}

.user-name-text,
.user-name-sub-text {
    color: white !important; /* White text */
}






.settings-card {
    width: 250px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.nav-pills .nav-link {
    width: 100%;
    text-align: left;
    border-radius: 8px;
    padding: 10px;
    color: #6c757d;
}

    .nav-pills .nav-link.active {
        background-color: #6d7ae0;
        color: white;
    }

    .nav-pills .nav-link:focus, .nav-pills .nav-link:hover {
        background-color: #e2e6ea;
    }



/* setting css kiisa hadii wax khaso waa iska saari kartaa*/





.eye-icon {
    font-size: 18px;
    color: #6c757d;
}

/*.btn-primary {
    background: #6c9df2;
    border: none;
}

    .btn-primary:hover {
        background: #567bcf;
    }
*/






.notification-container{

    background-color: #FFFFFF;
}


#CardSetting {
    margin-left: 9%;
}


.carousel-inner img {
   
    object-fit: cover; /* Waxay hubinaysaa in sawirku si wanaagsan u dhex galo */
    object-fit: cover;
    overflow: hidden; /* Wuxuu ka hortagayaa in sawiradu dilaacaan */
}

.carousel-item {

    width: 100%;

}

/*charts dashboard responsive style waye */
.apex-charts {
    width: 100% !important;
    height: auto !important;
    min-height: 300px;
    max-width: 100%;
}

/*.card {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;*/ /* Haddii ay ka baxdo shaashadda, scroll horizontal u ogolaan */
/*}*/


#navitem {
    font-size: 30px;
    color:aquamarine;
}



/*col-md-3 {
    border-right: 1px solid #ddd;
    padding-right: 15px;
}

.chat-room-list ul {
    padding-left: 0;
}

    .chat-room-list ul li {
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }

        .chat-room-list ul li a {
            display: block;
            color: #333;
            text-decoration: none;
            font-weight: bold;
        }

            .chat-room-list ul li a:hover {*/
                /*background-color: #f8f9fa;*/
                /*padding: 10px;
                border-radius: 5px;
            }

.profile-cover {
    text-align: center;
    padding: 15px;
    background: #f0f2f5;
    border-bottom: 1px solid #ddd;
    margin-top: -6%;
}

.profile-avatar img {
    border-radius: 50%;
    border: 3px solid white;
}

.card-body form .form-control {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 10px;
}

.hstack.gap-2 {
    display: flex;
    gap: 10px;
}*/


/*notification card*/


#logoSetting {
    border-radius: 50% !important;
    margin-top: -10%;
    overflow: hidden;
    position: absolute;
    transform: translate(-50%, -50%);
    object-fit: cover;
    border: 3px solid white; /* Adds a clean border */
}

#logo2Setting {
    border-radius: 13% !important;
    margin-top: -64%;
    margin-left: -41%;
    overflow: hidden;
    position: absolute;
    transform: translate(-50%, -50%);
    object-fit: cover;
    width: 80px;
    height: 80px;
    border: 3px solid blue; /* Adds a clean border */
}

.custom-input {
    background: white !important; /* Ensures white background at all times */
}

    /* Keeps background white even when input is filled */
    .custom-input:focus,
    .custom-input:not(:placeholder-shown) {
        background: white !important;
        border-color: #007bff !important; /* Optional: Adds blue border on focus */
        outline: none;
        box-shadow: none;
    }

/*#logo2Setting {
    width: 80px;*/ /* Default width */
    /*height: 80px;*/ /* Default height */
    /*border-radius: 13% !important;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    border: 3px solid white;*/ /* Adds a clean border */
/*}*/

/* Responsive Fix for Smaller Screens */
@media (max-width: 768px) {
    #logo2Setting {
        width: 60px;
        height: 60px;
        top: 55%; /* Adjust to look better */
    }
}


#withpanel {
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

#editConver {
    background-color: #2A9AF1;
    color: #FFFFFF;
}


@media (min-width: 992px) {
    .chat-leftsidebar {
        min-width: 92% !important;
    }
}


@media (min-width: 992px) {
    .chat-wrapper-menu {
        min-width: 300px !important;
    }
}



@media screen and (max-width: 768px) {
    .btn-login-responsive {
        width: 100% !important;
    }
}

/*.auth-logo {
    margin-bottom: 70% !important;
}*/



/*================================================================================CHART AND CROUSAL IMAGE CARDS STYLE ================================================ */
/* Make sure both cards are the same height */


/* Ensure cards take full height */
.card1 {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: white;
}

.card-body1 {
    flex-grow: 1; /* Makes both cards fill evenly */
    display: flex;
    flex-direction: column;
    justify-content: center;
}



/* Ensure chart container and carousel fill their cards */
.chartOnes, #smoothCarousel {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

/* Make carousel images responsive */
.carousel-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Fixes */
@media (max-width: 1200px) {
    .card1 {
        height: auto; /* Allow height to adjust on smaller screens */
    }
}

@media (max-width: 992px) {
    .card1 {
        height: auto;
    }
}

@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .col-xl-6.mx-auto {
        width: 100%;
    }
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 8px solid lightblue;
    border-right-color: #2A9AF1;
    animation: l2 1s infinite linear;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}

@keyframes l2 {
    to {
        transform: rotate(1turn)
    }
}

.switch_date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .switch_date {
        left: 0;
        transform: none;
    }
}

@media (max-width: 768px) {
    .row-packages {
        flex-direction: column; /* stack cards vertically */
        align-items: center;
        gap: 20px; /* space between stacked cards */
    }

    .package-card {
        width: 90% !important; /* take most of the screen */
        min-width: unset; /* remove fixed min-width */
        height: auto; /* let content decide height */
    }

    .divider-shape {
        display: none; /* hide angled dividers */
    }

    .dd {
        display: none !important; /* hide angled dividers */
    }

    .Dd {
        display: none !important; /* hide angled dividers */
    }
}