﻿.IFrame
{
    width: 95%;
    height: 95%;
    overflow: auto;
    margin: 0;
    padding: 0;
    border: 0;
}

.TableNoFrame {
    width: 100%;
}

    .TableNoFrame td {
        padding: 3px;
    }

.Shadow-Panel {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Horizontal, vertical, blur, color */
    border-radius: 10px;
}

.Center {
    text-align: center;
    margin: 0 auto;
    float: none !important;
    display: table;
}

.Right {
    text-align: right;
    padding-right: 0px;
}

.Footer {
    position: absolute;
    right: 5px;
    bottom: 5px;
    left: 5px;
}

.PDFContainer {
    width: 100%;
    height: calc(100vh - 150px);
    overflow: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.PDFPage {
    position: relative !important;
    margin: 10px auto !important;
    background: white !important;
    box-shadow: 0 0 10px rgba(0,0,0,0.3) !important;
    display: block !important;
}

#rpDocument .dxrpContent {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ScrollableContent {
    flex: 1;
    overflow: auto;
    position: relative;
}

.Field {
    position: absolute;
    background-color: #ffeb3b;
    border: 2px dashed #999;
    padding: 5px;
    cursor: grab;
    z-index: 100;
    border: 2px solid #333;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    box-sizing: border-box;
}

.RemoveButton {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    padding: 0;
}

    .RemoveButton:hover {
        background-color: #d32f2f;
    }

.Dragging
{
    opacity: 0.7;
    z-index: 1002 !important;
}

.FooterCenter
{
    position: absolute;
    text-align: center;
    right: 5px;
    bottom: 5px;
    left: 5px;
}
