﻿/* Common styles for both full-page and relative blockers */
#ui-blocker,
[id^="ui-blocker-"] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

/* Specific positioning for relative blockers */
.ui-blocker-relative {
    position: absolute !important;
    z-index: 100;
}

/* Common content styles */
#ui-blocker .blocker-content,
[id^="ui-blocker-"] .blocker-content {
    text-align: center;
}

/* Common spinner styles */
#ui-blocker .spinner,
[id^="ui-blocker-"] .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

/* Common message styles */
#ui-blocker .message,
[id^="ui-blocker-"] .message {
    color: #333;
    font-size: 16px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Base style for editable fields */
/* Base style for editable fields */
[class*="EditableClass"] {
    position: relative;
    padding: 6px 2px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    color: #198754; /* Bootstrap green color */
}

/* Hover effect */
[class*="EditableClass"]:hover {
    background-color: #e8f5e9; /* Light green background */
}

/* Base style for editable fields */
[class*="EditableClass"] {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    color: inherit; /* Keep original text color */
}

/* Icon styling */
[class*="EditableClass"] .las.la-pencil-alt {
    font-size: 14px;
    color: #198754; /* Green icon */
    margin-right: 4px;
    opacity: 0.7;
}

[class*="EditableClass"]:hover .las.la-pencil-alt {
    opacity: 1;
}