@import url('open-iconic/font/css/open-iconic-bootstrap.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;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyN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wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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

.select-group .mud-list-item-icon {
    display: none;
}

.select-group .mud-list-item-text p {
    color: var(--mud-palette-text-primary);
    font-weight: 500;
}

.source-editor {
    min-height: 16rem;
}




@keyframes blinkCursor {
    50% {
        border-right-color: transparent;
    }
}

@keyframes typeAndDelete {
    0%, 10% {
        width: 0;
    }

    45%, 55% {
        width: 11em;
    }
    /* adjust width based on content */
    90%, 100% {
        width: 0;
    }
}

.terminal-loader {
    border: 0.1em solid #333;
    background-color: #1a1a1a;
    color: #0f0;
    font-family: "Courier New", Courier, monospace;
    font-size: 1em;
    padding: 1.5em 1em;
    width: 20em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.terminal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5em;
    background-color: #333;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    padding: 0 0.4em;
    box-sizing: border-box;
}

.terminal-controls {
    float: right;
}

.control {
    display: inline-block;
    width: 0.6em;
    height: 0.6em;
    margin-left: 0.4em;
    border-radius: 50%;
    background-color: #777;
}

    .control.close {
        background-color: #e33;
    }

    .control.minimize {
        background-color: #ee0;
    }

    .control.maximize {
        background-color: #0b0;
    }

.terminal-title {
    float: left;
    line-height: 1.5em;
    color: #eee;
}

.text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 0.2em solid green; /* Cursor */
    animation: typeAndDelete 4s steps(11) infinite, blinkCursor 0.5s step-end infinite alternate;
    margin-top: 1.5em;
}

.status-online {
    background-color: #00FF00; /* Yeşil - Online */
    color: white;
}

.status-offline {
    background-color: #808080; /* Gri - Offline */
    color: white;
}

.status-away {
    background-color: #FFA500; /* Turuncu - Away */
    color: white;
}

.status-busy {
    background-color: #FF0000; /* Kırmızı - Busy */
    color: white;
}

.status-do-not-disturb {
    background-color: #800000; /* Bordo - Do Not Disturb */
    color: white;
}

/* CALENDAR */
.monthly-calendar {
    display: grid;
    width: 100%;
    grid-template-rows: 6vh;
    /*grid-template-columns: repeat(7, minmax(120px, 1fr));
    grid-auto-rows: 120px;*/
    grid-template-columns: repeat(7, minmax(8vw, 1fr));
    grid-auto-rows: 12vh;
    overflow: auto;
}

.monthly-day {
    border-bottom: 1px solid rgba(166, 168, 179, 0.12);
    border-right: 1px solid rgba(166, 168, 179, 0.12);
    text-align: right;
    padding: 0.4vh 0.4vw;
    letter-spacing: 1px;
    font-size: 0.8em;
    box-sizing: border-box;
    color: #6d7377;
    position: relative;
}

    .monthly-day:nth-of-type(n + 1):nth-of-type(-n + 7) {
        grid-row: 2;
    }

    .monthly-day:nth-of-type(n + 8):nth-of-type(-n + 14) {
        grid-row: 3;
    }

    .monthly-day:nth-of-type(n + 15):nth-of-type(-n + 21) {
        grid-row: 4;
    }

    .monthly-day:nth-of-type(n + 22):nth-of-type(-n + 28) {
        grid-row: 5;
    }

    .monthly-day:nth-of-type(n + 29):nth-of-type(-n + 35) {
        grid-row: 6;
    }

    .monthly-day:nth-of-type(n + 36):nth-of-type(-n + 43) {
        grid-row: 7;
    }

    .monthly-day:nth-of-type(7n + 1) {
        grid-column: 1/1;
    }

    .monthly-day:nth-of-type(7n + 2) {
        grid-column: 2/2;
    }

    .monthly-day:nth-of-type(7n + 3) {
        grid-column: 3/3;
    }

    .monthly-day:nth-of-type(7n + 4) {
        grid-column: 4/4;
    }

    .monthly-day:nth-of-type(7n + 5) {
        grid-column: 5/5;
    }

    .monthly-day:nth-of-type(7n + 6) {
        grid-column: 6/6;
    }

    .monthly-day:nth-of-type(7n + 7) {
        grid-column: 7/7;
    }

.monthly-day--disabled {
    color: rgba(#98a0a6, 0.6);
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f4f6f7' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.monthly-today {
    border: 3px solid #f75959;
    border-radius: 5px;
}

.monthly-task {
    border-radius: 3px;
    padding: 2px 8px 2px 6px;
    margin: 3px 11px 0 9px;
    font-size: 0.8em;
    font-weight: 600;
    position: relative;
    z-index: 1;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2vh;
}


@media (max-width: 767.98px) {
    .monthly-task {
        padding: 0px 8px 0px 4px;
        margin: 3px 2px 0 4px;
    }
}

.monthly-task-first {
    align-self: start;
    margin-top: 22px;
}

.monthly-task-second {
    align-self: center;
    margin-top: 8px;
}

.monthly-task-bottom {
    align-self: end;
    margin-bottom: 14px;
}

.monthly-more-tasks {
    position: relative;
    cursor: zoom-in;
    align-self: end;
    margin-top: 40px;
    font-size: 0.6em;
    font-weight: 600;
    color: darkblue;
    align-self: end;
    margin-left: 10px;
}


.calendar {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(7, minmax(120px, 1fr));
    grid-template-rows: 50px;
    grid-auto-rows: 120px;
    overflow: visible;
}

.calendar-container {
    width: 100%;
    margin: auto;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: #fff;
}

.calendar-header {
    text-align: center;
    padding: 20px 0;
    background: linear-gradient(to bottom, #fafbfd 0%, rgba(255, 255, 255, 0) 100%);
    border-bottom: 1px solid rgba(166, 168, 179, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .calendar-header .header-title {
        text-align: center;
    }

        .calendar-header .header-title h1 {
            margin: 0;
            text-align: center;
            font-size: 18px;
        }

        .calendar-header .header-title p {
            margin: 5px 0 0 0;
            font-size: 13px;
            text-align: center;
            font-weight: 600;
            color: rgba(81, 86, 93, 0.4);
        }

        .calendar-header .header-title small {
            margin: 5px 0 0 0;
            font-size: 13px;
            text-align: center;
            font-weight: 600;
            color: rgba(81, 86, 93, 0.4);
        }



.btn-nav-month {
    transform: scale(2);
    padding: 0px 30px;
    cursor: pointer;
}

.day {
    border-bottom: 1px solid rgba(166, 168, 179, 0.12);
    border-right: 1px solid rgba(166, 168, 179, 0.12);
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    text-align: right;
}

    .day:nth-of-type(7n + 7) {
        border-right: 0;
    }

    .day:nth-of-type(n + 1):nth-of-type(-n + 7) {
        grid-row: 2;
    }

    .day:nth-of-type(n + 8):nth-of-type(-n + 14) {
        grid-row: 3;
    }

    .day:nth-of-type(n + 15):nth-of-type(-n + 21) {
        grid-row: 4;
    }

    .day:nth-of-type(n + 22):nth-of-type(-n + 28) {
        grid-row: 5;
    }

    .day:nth-of-type(n + 29):nth-of-type(-n + 35) {
        grid-row: 6;
    }

    .day:nth-of-type(7n + 1) {
        grid-column: 1/1;
    }

    .day:nth-of-type(7n + 2) {
        grid-column: 2/2;
    }

    .day:nth-of-type(7n + 3) {
        grid-column: 3/3;
    }

    .day:nth-of-type(7n + 4) {
        grid-column: 4/4;
    }

    .day:nth-of-type(7n + 5) {
        grid-column: 5/5;
    }

    .day:nth-of-type(7n + 6) {
        grid-column: 6/6;
    }

    .day:nth-of-type(7n + 7) {
        grid-column: 7/7;
    }

.day-name {
    font-size: 12px;
    text-transform: uppercase;
    color: #99a1a7;
    text-align: center;
    border-bottom: 1px solid rgba(166, 168, 179, 0.12);
    line-height: 50px;
    font-weight: 500;
}

.day--disabled {
    color: rgba(152, 160, 166, 0.6);
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f9f9fa' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    cursor: not-allowed;
}


.day-number {
    margin-left: auto;
    font-size: 12px;
    color: #98a0a6;
}

.day-empty-area {
    position: absolute;
    margin-top: -20px;
    width: 100%;
    height: 100%;
}
.day-events {
    position: relative;
    text-align: left;
    z-index: 10;
}

.day-event {
    border-left-color: #290270;
    border-left-width: 3px;
    margin-top: 1px;
    padding: 3px 6px;
    border-left-style: solid;
    position: relative;
    height: 25px;
    background: #4786ff;
    border-radius: 4px;
    animation: .5s ease-out wipeToRight;
    cursor: pointer;
}

.day-event-show-more {
    line-height: 18px;
    margin-top: 1px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    position: relative;
    height: 18px;
    background: #e9e9e9;
    border-radius: 4px;
    color: #474747;
    animation-name: wipeToBottom;
    animation-duration: 2s;
    animation-delay: -0.5s;
    cursor: pointer;
}

.day-event-title {
    color: #fff;
    font-size: 14px;
}

.day-event-details {
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    margin-top: 30px;
    left: -150px;
    transform: translate(0, 10px);
    background-color: #bfbfbf;
    padding: 1.5rem;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    width: auto;
}

    .day-event-details:before {
        position: absolute;
        z-index: -1;
        content: "";
        right: calc(50% - 10px);
        top: -8px;
        border-style: solid;
        border-width: 0 10px 10px 10px;
        border-color: transparent transparent #bfbfbf transparent;
        transition-duration: 0.3s;
        transition-property: transform;
    }

.day-event:hover .day-event-details {
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transform: translate(0, -20px);
    transition: all 0.5s cubic-bezier(0.75, -0.02, 0.2, 0.97);
}

.day-event-details-message {
    text-align: center;
}

@keyframes wipeToBottom {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes wipeToRight {
    0% {
        width: 0;
        max-height: 34px;
    }

    50% {
        width: 80%;
    }

    100% {
        width: 100%;
    }
}
.dxrd-menu-item-text {
    font-family: 'Montserrat' !important;
}
@media (hover: hover) and (pointer: fine) {
    .mud-link.mud-link-underline-hover:hover {
        text-decoration: none !important;
    }
}
.mud-nav-link-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-help {
    position: fixed !important;
    right: 50px !important;
    bottom: 50px !important;
    opacity: 0.5 !important;
    transition: all 0.3s ease-in-out !important;
}
    .btn-help:hover {
        opacity: 1 !important;
    }


.dialog-background {
    backdrop-filter: blur(10px);
}
.blurry {
    backdrop-filter: blur(10px);
}