/* Layout & Form Grid Elements */
.gdf-form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.gdf-form-group {
    display: flex;
    flex-direction: column;
}

.gdf-form-group label {
    font-weight: 600;
    margin-bottom: 5px;
}

.gdf-form-group input,
.gdf-form-group select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.gdf-col-half {
    flex: 1 1 calc(50% - 15px);
    min-width: 250px;
}

.gdf-col-full {
    flex: 1 1 100%;
}

/* Button Styles */
.gdf-btn {
    background-color: #2271b1;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.gdf-btn:hover {
    background-color: #135e96;
}

.gdf-btn-secondary {
    background-color: #50575e;
}

.gdf-btn-secondary:hover {
    background-color: #3c434a;
}

.gdf-btn-danger {
    background-color: #d63638;
}

.gdf-btn-danger:hover {
    background-color: #b32d2e;
}

/* Modal Overlay & Container */
.gdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

/* Modal Visibility Utility */
.gdf-modal.gdf-hidden {
    display: none !important;
}

/* Inner Modal Card Box */
.gdf-modal-content {
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Close Button Icon */
.gdf-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.gdf-modal-close:hover {
    color: #000;
}