﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.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;
    }

.required:after {
    content: "*";
    font-weight: bold;
    color: red;
}


.gridColumnRequired .k-link::after {
    content: " *";
    color: red;
    font-weight: bold;
}

.k-form-field:has(.inputFieldRequired) .k-form-label::after {
    content: " *";
    color: red;
    font-weight: bold;
}

/* SCROLLBAR rules */

/* WebKit Browsers (Chrome, Edge, Safari) */
*::-webkit-scrollbar {
    width: 1.5em; /* Adjust this value for width */
    height: 1.5em; /* For horizontal scrollbar */
}

*::-webkit-scrollbar-track {
    background: #f1f1f1;
}

*::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
    border: 3px solid #f1f1f1;
}

*::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.k-svg-icon.k-icon-xxxl {
    color: #007bff !important;
}

.notify-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}
.notify-box {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: fadeInOut 2s ease forwards;
}

/* Χρώματα */
.notify-success {
    background-color: #28a745; /* Πράσινο */
}

.notify-error {
    background-color: #dc3545; /* Κόκκινο */
}

.notify-warning {
    background-color: #ffc107; /* Κίτρινο */
    color: black; /* Καλύτερη αντίθεση */
}

.notify-info {
    background-color: #17a2b8; /* Γαλάζιο */
}

/* Animation */
@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}
