@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
}

a, .btn-link {
    color: #F39200;
    transition: color 0.3s ease;
}

    a:hover, .btn-link:hover {
        color: #D97706;
    }

.btn-primary {
    background-color: #F39200;
    color: #ffffff;
    border: 1px solid #D97706;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

    .btn-primary:hover {
        background-color: #D97706;
        color: white;
    }

.btn-custom {
    background-color: #2c2c2c;
    color: white;
    border: 1px solid #F39200;
}

    .btn-custom:hover {
        background-color: #F39200;
        color: white;
    }

.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 #F39200;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e53935;
}

.validation-message {
    color: #e53935;
}

.blazor-error-boundary {
    background-color: #2c2c2c;
    color: #ffffff;
    padding: 1rem 1rem 1rem 3.7rem;
    border-left: 5px solid #F39200;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

.darker-border-checkbox.form-check-input {
    border-color: #999999;
}

.Standard-button {
    background-color: #F39200;
    color: #000000;
    border: none;
    padding: 10px 20px;
    text-align: center;
    display: inline-block;
    font-size: 14px;
    font-weight: 500; /* <-- meno spesso */
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    width: auto;
}

    .Standard-button:hover {
        background-color: #e07c00;
        color: #000000;
    }

.k-button.Grid-button,
.Grid-button.k-button {
    background-color: #F39200 !important;
    color: #000000 !important;
    border: none !important;
    padding: 6px 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important; /* <-- meno marcato */
    border-radius: 6px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s ease;
}

    .k-button.Grid-button:hover,
    .Grid-button.k-button:hover {
        background-color: #e07c00 !important;
        color: #000000 !important;
    }

.Login-button {
    background-color: #F39200;
    color: #000000;
    border: none;
    padding: 12px 20px;
    text-align: center;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    margin: 6px 0;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    width: 300px;
}

    .Login-button:hover {
        background-color: #e07c00;
        color: #000000;
    }
.btn_compile {
    border: 2px solid #F39200;
    background-color: white;
    color: #F39200;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 20px;
    transition: background-color 0.2s ease;
}

    .btn_compile:hover {
        background-color: #FFF3E0;
        font-weight: bold;
    }

.logo {
    border-radius: 25px;
}

.sidebar {
    background: linear-gradient(180deg, #FFA500 0%, #F39200 100%);
    color: white;
    padding: 1rem;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);
    border-right: 1px solid #D97706;
    font-weight: 500;
}

.testo-custom {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #2c2c2c;
}

.ExpandoButton {
    width: 94%;
    height: 40px;
    background-color: #F39200;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    transition: background-color 0.3s ease;
}

    .ExpandoButton:hover {
        background-color: #D97706;
    }

.TextArea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.5rem;
}

.windowborder {
    border: none;
}

/* Titlebar del TelerikWindow */
.k-window.gaia-window .k-window-titlebar {
    background-color: #F39200 !important;
    color: white !important;
    font-weight: bold;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

    .k-window.gaia-window .k-window-titlebar .k-window-actions .k-button {
        color: white !important;
        background: transparent !important;
        border: none !important;
    }

        .k-window.gaia-window .k-window-titlebar .k-window-actions .k-button:hover {
            color: #eee !important;
        }

/* Loader */
.k-loader-primary {
    color: #F39200 !important;
}

.k-loader .k-icon {
    color: #F39200 !important;
}

.k-loading-color,
.k-loading-mask {
    background-color: rgba(255, 163, 0, 0.05) !important;
}

.k-loading-image {
    border-color: #F39200 !important;
}
