@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOT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vPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}
/* Ensure the nav-items are in a flex container */
.navbar-nav {
    display: flex;
    flex-direction: column;
}

/* When a nav-item has a class 'show', make the dropdown-menu visible */
.nav-item.show .dropdown-menu {
    display: block;
}

.nav-link i {
    width: 20px; /* Set a fixed width for all icons */
    text-align: center;
    margin-right: 10px; /* This adds space between the icon and the text */
    display: inline-block;
}

.dropdown-menu .nav-link {
    font-size: 18px; /* Set your desired font size */
}

/* Menu item icons */
.nav-link-icon {
    margin-right: 8px; /* Adjust space between icon and label */
}

/* Active menu item styling */
.nav-item.active {
    background-color: #0071c1; /* Adjust to match your active item color */
    color: white; /* Adjust to match your active item text color */
}

/* Menu section header */
.menu-section-header {
    padding: 10px 15px; /* Adjust padding as needed */
    font-size: 16px; /* Adjust font size as needed */
    color: #333; /* Adjust color as needed */
    background-color: #f5f5f5; /* Adjust background color as needed */
    text-transform: uppercase; /* Optional: transform text to uppercase */
    font-weight: bold; /* Optional: make font bold */
}

/* Custom styles for the navigation menu */
.nav-item .nav-link {
    display: flex; /* Enables flexbox layout for the links */
    align-items: center; /* Centers items vertically */
    font-size: 1rem; /* Adjust as needed */
}

    /* Style for the icon in the nav link */
    .nav-item .nav-link .oi {
        margin-right: 0.5rem; /* Adds some space between the icon and text */
    }

/* Active menu item */
.nav-item.active .nav-link {
    background-color: #0071c1; /* Active item background color */
    color: white; /* Active item text color */
}

/* Add this to your CSS file */
.nav-link .fas {
    margin-right: 8px; /* Adjust the space as needed */
}

.navbar {
    align-items: center; /* This ensures vertical centering of navbar contents */
}

.navbar-brand {
    margin-right: 0; /* Removes any additional space on the right of the logo */
}

.navbar-brand img {
     height: 50px; /* Or your preferred size */
     width: auto;
     margin-left: -15px; /* Adjusts the position to the left, change as needed */
     margin-top: -5px; /* Adjusts the position up, change as needed */
}

.top-row {
    padding-top: 0;
    padding-bottom: 0;
}

/* This is your navigation container, it should have a position relative to position the settings menu absolutely within it */
.nav-menu-container {
    position: relative;
    min-height: 100vh; /* This ensures that the container takes at least the full height of the viewport */
}

.settings-menu {
    position: absolute;
    bottom: 0;
    width: 100%; /* This ensures that the settings menu spans the full width of its container */
}

.nav-link {
    position: relative; /* Ensure this is set */
    display: flex; /* Enables flexbox layout for the links */
    align-items: center; /* Centers items vertically */
    font-size: 1rem; /* Adjust as needed */
}

/* Add this to your CSS file */
.nav-link .unread-count {
    position: absolute;
    top: 50%;
    right: 10px; /* Adjust this value to move the indicator closer to the text */
    transform: translateY(-50%);
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 20px; /* Adjust size as needed */
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px; /* Adjust font size as needed */
}

#Kalender styles
#Kalender styles
#Kalender styles

.calendar-container {
    max-width: 1000px;
    margin: auto;
}

.week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: #ddd;
    overflow-y: auto; /* Enables vertical scrolling */
}

.day-column {
    background-color: #fff;
    border: 1px solid #ddd;
    min-height: 1440px; /* 24 hours * 60 minutes to represent a full day */
    position: relative;
}

.date-header {
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    padding: 4px;
}

.day-events {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.event {
    position: absolute;
    width: calc(100% - 4px);
    margin: 2px;
    background-color: #e3e3e3;
    border: 1px solid #ccc;
    box-sizing: border-box;
    padding: 2px;
    overflow: hidden;
}

.event-time {
    font-size: 0.8em;
}

/* General Modal Styles */
.modal {
    display: block;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20%;
    max-height: 40%; /* Set a max height */
    overflow: auto; /* Add scroll if content exceeds max height */
    background-color: #282c34;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    color: #FFF;
    font-family: 'Segoe UI', sans-serif;
}


/* Hide labels in the modal */
.modal label {
    display: none; /* This hides the label elements */
}

/* Adjustments to labels and inputs */
input[type="text"], input[type="date"], input[type="time"], input[type="number"] {
    width: 100%;
    padding: 10px; /* Reduced padding */
    margin: 8px 0; /* Consistent margin */
    border: 2px solid #555;
    border-radius: 4px;
    background: #FFF;
    color: #333;
    font-size: 14px;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px; /* Reduced padding */
    margin: 8px 0; /* Consistent margin */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

    button:hover {
        background-color: #367c39;
    }

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-top: -10px; /* Adjust this to position the close button */
    margin-right: -10px; /* Adjust this to position the close button */
}

    .close:hover, .close:focus {
        color: white;
        text-decoration: none;
        cursor: pointer;
    }

select {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 2px solid #555;
    border-radius: 4px;
    background: #FFF;
    color: #000 !important; /* Changed to black and made important */
    font-size: 14px;
}

select option {
    background-color: #FFF !important; /* White background */
    color: #000 !important; /* Black text */
    padding: 10px;
}

/* Specific style for lead origin dropdown */
#Leadorigin, 
select[id="Leadorigin"] {
    color: #000 !important;
    background-color: #FFF !important;
}

#Leadorigin option, 
select[id="Leadorigin"] option {
    color: #000 !important;
    background-color: #FFF !important;
}

/* Specific styles for each color option */
select option[value="1"]::before {
    content: '';
    display: inline-block;
    height: 20px;
    width: 20px;
    background-color: #a4bdfc;
    border-radius: 50%;
}
/* Style adjustments for color options in the select dropdown */
select option[value="1"] {
    color: #a4bdfc;
}
/* Blue */
select option[value="2"] {
    color: #7ae7bf;
}
/* Green */
select option[value="3"] {
    color: #dbadff;
}
/* Purple */
select option[value="4"] {
    color: #ff887c;
}
/* Red */
select option[value="5"] {
    color: #fbd75b;
}
/* Yellow */
select option[value="6"] {
    color: #ffb878;
}
/* Orange */
select option[value="7"] {
    color: #46d6db;
}
/* Turquoise */
select option[value="8"] {
    color: #e1e1e1;
}
/* Gray */
select option[value="9"] {
    color: #5484ed;
}
/* Blue-Gray */
select option[value="10"] {
    color: #51b749;
}
/* Bold Blue */
select option[value="11"] {
    color: #dc2127;
}

/* Hiding the dropdown arrow for customization */
select {
    -webkit-appearance: none; /* For WebKit browsers */
    -moz-appearance: none; /* For Mozilla browsers */
    appearance: none; /* Standard syntax */
}

    /* Optional: Custom dropdown arrow */
    select.dropbtn {
        background: url('path_to_custom_arrow_image') no-repeat right #FFF;
        background-size: 20px; /* Adjust size of the arrow image */
    }

/* Add media queries and other responsive design features as needed */

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


/* Custom styles for the map */
#map {
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Custom marker styles */
.custom-div-icon {
    background: transparent;
    border: none;
}

.marker-pin {
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    background: #c30b82;
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -15px 0 0 -15px;
    border: 2px solid #FFFFFF;
}

    .marker-pin::after {
        content: '';
        width: 14px;
        height: 14px;
        margin: 8px 0 0 8px;
        background: #fff;
        position: absolute;
        border-radius: 50%;
    }

.custom-div-icon i {
    position: absolute;
    width: 22px;
    font-size: 22px;
    left: 0;
    right: 0;
    margin: 10px auto;
    text-align: center;
    color: white;
    z-index: 1;
}

/* ========================================
   Custom Tooltip Styles
   Inspired by TailAdmin - Light Mode Design
   ======================================== */

.custom-tooltip-wrapper {
    position: relative;
    display: inline-block;
    /* Allow tooltips to overflow their containers */
    overflow: visible !important;
}

.custom-tooltip-trigger {
    display: inline-block;
    cursor: help;
}

/* Tooltip Content Container */
.custom-tooltip-content {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
    animation: fadeIn 0.2s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tooltip Portal Container */
.custom-tooltip-portal {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
}

/* Tooltip Inner Content */
.tooltip-inner {
    background-color: #ffffff !important;
    color: #374151 !important;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
    white-space: nowrap;
    min-width: 200px;
    max-width: 400px;
}

/* Allow wrapping for HTML content */
.tooltip-inner ul,
.tooltip-inner div {
    white-space: normal;
}

/* Tooltip Arrow */
.tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

/* Position: Top */
.tooltip-top {
    transform: translateX(-50%) translateY(-100%);
    margin-top: -15px;
}

.tooltip-top .tooltip-arrow {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-color: #ffffff transparent transparent transparent;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.tooltip-top .tooltip-arrow::before {
    content: '';
    position: absolute;
    top: -7px;
    left: -6px;
    border-style: solid;
    border-width: 6px 6px 0 6px;
    border-color: #e5e7eb transparent transparent transparent;
}

/* Position: Bottom */
.tooltip-bottom {
    transform: translateX(-50%);
}

.tooltip-bottom .tooltip-arrow {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 6px 6px 6px;
    border-color: transparent transparent #ffffff transparent;
    filter: drop-shadow(0 -1px 2px rgba(0, 0, 0, 0.1));
}

.tooltip-bottom .tooltip-arrow::before {
    content: '';
    position: absolute;
    bottom: -7px;
    left: -6px;
    border-style: solid;
    border-width: 0 6px 6px 6px;
    border-color: transparent transparent #e5e7eb transparent;
}

/* Position: Left */
.tooltip-left {
    transform: translateX(-100%) translateY(-50%);
    margin-left: -15px;
}

.tooltip-left .tooltip-arrow {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-color: transparent transparent transparent #ffffff;
    filter: drop-shadow(1px 0 2px rgba(0, 0, 0, 0.1));
}

.tooltip-left .tooltip-arrow::before {
    content: '';
    position: absolute;
    left: -7px;
    top: -6px;
    border-style: solid;
    border-width: 6px 0 6px 6px;
    border-color: transparent transparent transparent #e5e7eb;
}

/* Position: Right */
.tooltip-right {
    transform: translateY(-50%);
}

.tooltip-right .tooltip-arrow {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 6px 6px 0;
    border-color: transparent #ffffff transparent transparent;
    filter: drop-shadow(-1px 0 2px rgba(0, 0, 0, 0.1));
}

.tooltip-right .tooltip-arrow::before {
    content: '';
    position: absolute;
    right: -7px;
    top: -6px;
    border-style: solid;
    border-width: 6px 6px 6px 0;
    border-color: transparent #e5e7eb transparent transparent;
}

/* Tooltip List Styling */
.custom-tooltip-content ul {
    margin: 4px 0;
    padding-left: 16px;
    list-style-type: disc;
}

.custom-tooltip-content ul li {
    margin: 2px 0;
    color: #4b5563;
}

.custom-tooltip-content strong {
    color: #1f2937;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}
/* site.css */
.btn-action {
    font-size: 12px;
    padding: 2px 8px;
    margin-left: 4px;
    border-radius: 4px;
}

.btn-pink {
    background-color: #e83e8c;
    color: white;
}

    .btn-pink:hover {
        background-color: #d63384;
    }

.btn-warning {
    background-color: #ffc107;
    color: black;
}

    .btn-warning:hover {
        background-color: #e0a800;
    }

.btn-dark {
    background-color: #343a40;
    color: white;
}

    .btn-dark:hover {
        background-color: #23272b;
    }

