html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.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;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

/* ---------------------------------------------- */

.text-warning-activity {
    color: #f97316;
}

.bg-whitesmoke {
    background-color: whitesmoke;
}

.bg-gray {
    background-color: #dddddd;
}

.bg-gray-light {
    background-color: #eeeeee;
}

.bg-light-smoke {
    background-color: #fefefe;
}

.control-group {
    margin: 5px 0px;
}

.table-details {
}

    .table-details td, th {
        padding: 2px 4px;
    }

.fade-direction {
    --fade-direction: bottom; /* change to "top", "left", or "right" as needed */
    --fade-percent: 10%; /* change to "5%" / "20%" as needed */
    --fade-fallback-color: 255,255,255; /* RGB color for fallback overlay (without rgba parentheses) */
    -webkit-mask-image: linear-gradient( to var(--fade-direction), rgba(0,0,0,1) 0%, rgba(0,0,0,1) calc(100% - var(--fade-percent)), rgba(0,0,0,0) 100% );
    mask-image: linear-gradient( to var(--fade-direction), rgba(0,0,0,1) 0%, rgba(0,0,0,1) calc(100% - var(--fade-percent)), rgba(0,0,0,0) 100% );
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* === START CROP BOX STYLES === */

/* Strong outer stroke and inner subtle glow for crop box */
.cropper-container .cropper-view-box {
    border: 2px solid rgba(255,255,255,0.95) !important; /* bright border */
    box-shadow: 0 0 0 3px rgba(0,0,0,0.45) inset, /* inner dark stroke */
    0 6px 20px rgba(0,0,0,0.30); /* soft outer shadow */
    border-radius: 6px; /* rounded corners for modern look */
    outline: none !important;
}

/* High-contrast guideline color and thickness (vertical/horizontal center lines) */
.cropper-container .cropper-line {
    background: #ff6b6b !important; /* accent color */
}

.cropper-container .cropper-line {
    /* ensure visible thickness for both horizontal and vertical lines */
    width: 2px !important;
    height: 2px !important;
}

/* Make drag points prominent and easy to see */
.cropper-container .cropper-point {
    background: #ff6b6b !important;
    border: 2px solid #fff !important;
    width: 12px !important;
    height: 12px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
    border-radius: 3px;
}

/* Dim the modal overlay for stronger focus on crop box */
.cropper-container .cropper-modal {
    background-color: rgba(0, 0, 0, 0.55) !important;
}

/* Optional: draw a subtle crosshair inside the crop area (using pseudo-element) */
.cropper-container .cropper-view-box::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255,107,107,0.55);
    transform: translateX(-50%);
    pointer-events: none;
}

.cropper-container .cropper-view-box::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,107,107,0.55);
    transform: translateY(-50%);
    pointer-events: none;
}

/* Keep controls accessible on small screens */
@@media (max-width: 576px) {
    .cropper-container .cropper-point {
        width: 10px !important;
        height: 10px !important;
    }
}

/* === END CROP BOX STYLES === */
